找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 6038|回复: 4

请教下单线多拨设置问题

[复制链接]
发表于 2014-9-20 15:02 | 显示全部楼层 |阅读模式

请问下为什么我新建的接口全部都接连接不上,连上的哪个是他自带的WAN我修改后连接的







是不是MACVLAN没有虚拟成功的原因啊,我已经把ETC/RC.LOCAL改为
# Put your custom commands here that should be executed once
# the system init finished. By default this file does nothing.

ip link add link eth0.2 vth1 type macvlan   
ifconfig vth1 hw ether 00:56:22:38:44:6E
ifconfig vth1 up

ip link add link eth0.2 vth2 type macvlan   
ifconfig vth2 hw ether 00:87:22:33:44:3F
ifconfig vth2 up

ip link add link eth0.2 vth3 type macvlan   
ifconfig vth3 hw ether 00:11:56:21:44:3A
ifconfig vth3 up

ip link add link eth0.2 vth4 type macvlan   
ifconfig vth4 hw ether 00:24:38:33:44:3F
ifconfig vth4 up

ip link add link eth0.2 vth5 type macvlan   
ifconfig vth5 hw ether 00:42:22:51:44:3A
ifconfig vth5 up


ip link add link eth0.2 vth6 type macvlan   
ifconfig vth6 hw ether 00:58:22:51:91:3B
ifconfig vth6 up

ip link add link eth0.2 vth7 type macvlan   
ifconfig vth7 hw ether 00:91:59:48:44:3C
ifconfig vth7 up

ip link add link eth0.2 vth8 type macvlan   
ifconfig vth8 hw ether 00:62:27:51:35:3C
ifconfig vth8 up

ip link add link eth0.2 vth9 type macvlan   
ifconfig vth9 hw ether 00:34:38:92:44:3F
ifconfig vth9 up


exit 0

但是在PUTTY里用 IP LINK LS
查到的信息如下,是不是没有虚拟成功啊
root@OpenWrt:~# ip link ls
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP mode DEFAULT group default qlen 1000
    link/ether f2:31:96:ea:45:f4 brd ff:ff:ff:ff:ff:ff
3: ip6tnl0: <NOARP> mtu 1452 qdisc noop state DOWN mode DEFAULT group default
    link/tunnel6 :: brd ::
4: sit0: <NOARP> mtu 1480 qdisc noop state DOWN mode DEFAULT group default
    link/sit 0.0.0.0 brd 0.0.0.0
5: ifb0: <BROADCAST,NOARP> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 32
    link/ether 96:61:ff:85:1b:d6 brd ff:ff:ff:ff:ff:ff
6: ifb1: <BROADCAST,NOARP> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 32
    link/ether 22:b8:5c:43:95:a7 brd ff:ff:ff:ff:ff:ff
7: gre0: <NOARP> mtu 1476 qdisc noop state DOWN mode DEFAULT group default
    link/gre 0.0.0.0 brd 0.0.0.0
8: gretap0: <BROADCAST,MULTICAST> mtu 1476 qdisc noop state DOWN mode DEFAULT group default qlen 1000
    link/ether 00:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff
9: ip6gre0: <NOARP> mtu 1448 qdisc noop state DOWN mode DEFAULT group default
    link/gre6 00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00 brd 00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00
10: ipddp0: <BROADCAST,MULTICAST,NOARP> mtu 585 qdisc noop state DOWN mode DEFAULT group default qlen 1000
    link/ip/ddp 00:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff
11: teql0: <NOARP> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 100
    link/void
12: wlan0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
    link/ether 6c:b0:ce:11:c8:aa brd ff:ff:ff:ff:ff:ff
13: wlan1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
    link/ether 6c:b0:ce:11:c8:ac brd ff:ff:ff:ff:ff:ff
14: br-lan: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DEFAULT group default
    link/ether 6c:b0:ce:11:c8:aa brd ff:ff:ff:ff:ff:ff
15: eth0.1@eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master br-lan state UP mode DEFAULT group default
    link/ether f2:31:96:ea:45:f4 brd ff:ff:ff:ff:ff:ff
16: eth0.2@eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DEFAULT group default
    link/ether f2:31:96:ea:45:f4 brd ff:ff:ff:ff:ff:ff
17: pppoe-wan: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1492 qdisc fq_codel state UNKNOWN mode DEFAULT group default qlen 3
    link/ppp
root@OpenWrt:~# root@OpenWrt:~# ip link ls
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP mode DEFAULT group default qlen 1000
    link/ether f2:31:96:ea:45:f4 brd ff:ff:ff:ff:ff:ff
3: ip6tnl0: <NOARP> mtu 1452 qdisc noop state DOWN mode DEFAULT group default
    link/tunnel6 :: brd ::
4: sit0: <NOARP> mtu 1480 qdisc noop state DOWN mode DEFAULT group default
    link/sit 0.0.0.0 brd 0.0.0.0
5: ifb0: <BROADCAST,NOARP> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 32
    link/ether 96:61:ff:85:1b:d6 brd ff:ff:ff:ff:ff:ff
-ash6: ifb1: <BROADCAST,NOARP> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 32
:     link/ether 22:b8:5c:43:95:a7 brd ff:ff:ff:ff:ff:ff
root@OpenWrt:~#7: gre0: <NOARP> mtu 1476 qdisc noop state DOWN mode DEFAULT group default
:     link/gre 0.0.0.0 brd 0.0.0.0
not found8: gretap0: <BROADCAST,MULTICAST> mtu 1476 qdisc noop state DOWN mode DEFAULT group default qlen 1000
    link/ether 00:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff

9: ip6gre0: <NOARP> mtu 1448 qdisc noop state DOWN mode DEFAULT group default
root@OpenWrt:~# 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKN
OWN mode DEFAULT group default
-ash: can't open LOOPBACK,UP,LOWER_UP: no such file
-ash: 1:: not found
root@OpenWrt:~#     link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
-ash: link/loopback: not found
root@OpenWrt:~# 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_cod
el state UP mode DEFAULT group default qlen 1000
-ash: can't open BROADCAST,MULTICAST,UP,LOWER_UP: no such file
-ash: 2:: not found
root@OpenWrt:~#     link/ether f2:31:96:ea:45:f4 brd ff:ff:ff:ff:ff:ff
-ash: link/ether: not found
root@OpenWrt:~# 3: ip6tnl0: <NOARP> mtu 1452 qdisc noop state DOWN mode DEFAULT
group default
-ash: can't open NOARP: no such file
-ash: 3:: not found
root@OpenWrt:~#     link/tunnel6 :: brd ::
-ash: link/tunnel6: not found
root@OpenWrt:~# 4: sit0: <NOARP> mtu 1480 qdisc noop state DOWN mode DEFAULT gro
up default
-ash: can't open NOARP: no such file
-ash: 4:: not found
root@OpenWrt:~#     link/sit 0.0.0.0 brd 0.0.0.0
-ash: link/sit: not found
root@OpenWrt:~# 5: ifb0: <BROADCAST,NOARP> mtu 1500 qdisc noop state DOWN mode D
EFAULT group default qlen 32
-ash: can't open BROADCAST,NOARP: no such file
-ash: 5:: not found
root@OpenWrt:~#     link/ether 96:61:ff:85:1b:d6 brd ff:ff:ff:ff:ff:ff
-ash: link/ether: not found
root@OpenWrt:~# 6: ifb1: <BROADCAST,NOARP> mtu 1500 qdisc noop state DOWN mode D
EFAULT group default qlen 32
-ash: can't open BROADCAST,NOARP: no such file
-ash: 6:: not found
root@OpenWrt:~#     link/ether 22:b8:5c:43:95:a7 brd ff:ff:ff:ff:ff:ff
-ash: link/ether: not found
root@OpenWrt:~# 7: gre0: <NOARP> mtu 1476 qdisc noop state DOWN mode DEFAULT gro
up default
-ash: can't open NOARP: no such file
-ash: 7:: not found
root@OpenWrt:~#     link/gre 0.0.0.0 brd 0.0.0.0
-ash: link/gre: not found
root@OpenWrt:~# 8: gretap0: <BROADCAST,MULTICAST> mtu 1476 qdisc noop state DOWN
mode DEFAULT group default qlen 1000
-ash: can't open BROADCAST,MULTICAST: no such file
-ash: 8:: not found
root@OpenWrt:~#     link/ether 00:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff
-ash: link/ether: not found
root@OpenWrt:~# 9: ip6gre0: <NOARP> mtu 1448 qdisc noop state DOWN mode DEFAULT
group default
-ash: can't open NOARP: no such file
-ash: 9:: not found
root@OpenWrt:~#     link/gre6 00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00 br
d 00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00
-ash: link/gre6: not found
root@OpenWrt:~# 10: ipddp0: <BROADCAST,MULTICAST,NOARP> mtu 585 qdisc noop state
DOWN mode DEFAULT group default qlen 1000
-ash: can't open BROADCAST,MULTICAST,NOARP: no such file
-ash: 10:: not found
root@OpenWrt:~#     link/ip/ddp 00:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff
-ash: link/ip/ddp: not found
root@OpenWrt:~# 11: teql0: <NOARP> mtu 1500 qdisc noop state DOWN mode DEFAULT g
roup default qlen 100
-ash: can't open NOARP: no such file
-ash: 11:: not found
root@OpenWrt:~#     link/void
-ash: link/void: not found
root@OpenWrt:~# 12: wlan0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN
mode DEFAULT group default qlen 1000
-ash: can't open BROADCAST,MULTICAST: no such file
-ash: 12:: not found
root@OpenWrt:~#     link/ether 6c:b0:ce:11:c8:aa brd ff:ff:ff:ff:ff:ff
-ash: link/ether: not found
root@OpenWrt:~# 13: wlan1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN
mode DEFAULT group default qlen 1000
-ash: can't open BROADCAST,MULTICAST: no such file
-ash: 13:: not found
root@OpenWrt:~#     link/ether 6c:b0:ce:11:c8:ac brd ff:ff:ff:ff:ff:ff
-ash: link/ether: not found
root@OpenWrt:~# 14: br-lan: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noq
ueue state UP mode DEFAULT group default
-ash: can't open BROADCAST,MULTICAST,UP,LOWER_UP: no such file
-ash: 14:: not found
root@OpenWrt:~#     link/ether 6c:b0:ce:11:c8:aa brd ff:ff:ff:ff:ff:ff
-ash: link/ether: not found
root@OpenWrt:~# 15: eth0.1@eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdis
c noqueue master br-lan state UP mode DEFAULT group default
-ash: can't open BROADCAST,MULTICAST,UP,LOWER_UP: no such file
-ash: 15:: not found
root@OpenWrt:~#     link/ether f2:31:96:ea:45:f4 brd ff:ff:ff:ff:ff:ff
-ash: link/ether: not found
root@OpenWrt:~# 16: eth0.2@eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdis
c noqueue state UP mode DEFAULT group default
-ash: can't open BROADCAST,MULTICAST,UP,LOWER_UP: no such file
-ash: 16:: not found
root@OpenWrt:~#     link/ether f2:31:96:ea:45:f4 brd ff:ff:ff:ff:ff:ff
-ash: link/ether: not found
root@OpenWrt:~# 17: pppoe-wan: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 149
2 qdisc fq_codel state UNKNOWN mode DEFAULT group default qlen 3
-ash: can't open POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP: no such file
-ash: 17:: not found
root@OpenWrt:~#     link/ppp
-ash: link/ppp: not found
root@OpenWrt:~# root@OpenWrt:~#
-ash: root@OpenWrt:~#: not found
root@OpenWrt:~#


还有我也把MWAN3提示:WARNING: some interfaces have no default route in the main routing table!
我跳跃点也设置的不一样了啊





本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

×
我的恩山、我的无线 The best wifi forum is right here.
发表于 2014-9-20 19:04 | 显示全部楼层
ifconfig 看下有没有vht之类的
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2014-9-20 20:36 | 显示全部楼层
是用nwan软件生成多拨的?
不过多拨也是看运营商支持的不。不然也是拨不上去的~
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2014-9-20 21:13 | 显示全部楼层
弱弱的问一下,多拨不是不能有桥接么?
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2014-9-21 20:46 | 显示全部楼层
你试一下重启防火墙
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-3-29 16:45

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com 举报电话:0519-86695797

快速回复 返回顶部 返回列表