[Xorp-users] problem with vif
Robert Werutsky
robertwerutsky at gmail.com
Wed Jun 3 06:08:06 PDT 2009
I'm trying to set up the xorp router with 2 virtual interfaces
I have added them on my ubuntu and ifconfig returns:
eth1 Link encap:Ethernet HWaddr 00:16:76:13:55:42
inet addr:172.20.5.37 Bcast:172.20.5.255 Mask:255.255.254.0
inet6 addr: fe80::216:76ff:fe13:5542/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:8556 errors:0 dropped:0 overruns:0 frame:0
TX packets:5859 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:4764766 (4.5 MB) TX bytes:1366801 (1.3 MB)
Base address:0x1000 Memory:93200000-93220000
eth1:0 Link encap:Ethernet HWaddr 00:16:76:13:55:42
inet addr:172.20.100.100 Bcast:172.20.101.255 Mask:255.255.254.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Base address:0x1000 Memory:93200000-93220000
eth1:2 Link encap:Ethernet HWaddr 00:16:76:13:55:42
inet addr:172.20.130.130 Bcast:172.20.131.255 Mask:255.255.254.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Base address:0x1000 Memory:93200000-93220000
my xorp config.boot:
interfaces {
interface eth1 {
description: "data interface"
disable: false
vif eth0 {
disable: false
address 172.20.100.100 {
prefix-length: 23
broadcast: 172.20.101.255
disable: false
}
}
vif eth2 {
disable: false
address 172.20.130.130 {
prefix-length: 23
broadcast: 172.20.132.255
disable: false
}
}
}
}
but when I try to run xorp I get this:
[ 2009/06/03 10:03:37 ERROR xorp_fea:7165 FEA +207 ifconfig_set.cc
push_config ] Interface/Vif error on eth1/eth0: bad vif name
[ 2009/06/03 10:03:37 WARNING xorp_fea XrlFeaTarget ] Handling method for
ifmgr/0.1/commit_transaction failed: XrlCmdError 102 Command failed
Interface/Vif error on eth1/eth0: bad vif name
[ 2009/06/03 10:03:37 ERROR xorp_rtrmgr:7164 RTRMGR +691
master_conf_tree.cc commit_pass2_done ] Commit failed: 102 Command failed
Interface/Vif error on eth1/eth0: bad vif name
[ 2009/06/03 10:03:37 ERROR xorp_rtrmgr:7164 RTRMGR +261
master_conf_tree.cc config_done ] Configuration failed: 102 Command failed
Interface/Vif error on eth1/eth0: bad vif name
[ 2009/06/03 10:03:37 INFO xorp_rtrmgr:7164 RTRMGR +2233 task.cc run_task ]
No more tasks to run
why ??? what's wrong ??
I can ping the vifs, they seem ok
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ICSI.Berkeley.EDU/pipermail/xorp-users/attachments/20090603/86e9574f/attachment.html
More information about the Xorp-users
mailing list