I'm trying to set up the xorp router with 2 virtual interfaces<br>I have added them on my ubuntu and ifconfig returns:<br><br>eth1 Link encap:Ethernet HWaddr 00:16:76:13:55:42 <br> inet addr:172.20.5.37 Bcast:172.20.5.255 Mask:255.255.254.0<br>
inet6 addr: fe80::216:76ff:fe13:5542/64 Scope:Link<br> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1<br> RX packets:8556 errors:0 dropped:0 overruns:0 frame:0<br> TX packets:5859 errors:0 dropped:0 overruns:0 carrier:0<br>
collisions:0 txqueuelen:100 <br> RX bytes:4764766 (4.5 MB) TX bytes:1366801 (1.3 MB)<br> Base address:0x1000 Memory:93200000-93220000 <br><br>eth1:0 Link encap:Ethernet HWaddr 00:16:76:13:55:42 <br>
inet addr:172.20.100.100 Bcast:172.20.101.255 Mask:255.255.254.0<br> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1<br> Base address:0x1000 Memory:93200000-93220000 <br><br>eth1:2 Link encap:Ethernet HWaddr 00:16:76:13:55:42 <br>
inet addr:172.20.130.130 Bcast:172.20.131.255 Mask:255.255.254.0<br> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1<br> Base address:0x1000 Memory:93200000-93220000 <br><br><br><br>my xorp config.boot:<br>
<br>interfaces {<br> interface eth1 {<br> <br> description: "data interface"<br> disable: false<br><br> vif eth0 {<br> disable: false<br> address 172.20.100.100 {<br> prefix-length: 23<br>
broadcast: 172.20.101.255<br> disable: false<br> }<br> }<br><br> vif eth2 {<br> disable: false<br> address 172.20.130.130 {<br> prefix-length: 23<br> broadcast: 172.20.132.255<br>
disable: false<br> }<br> }<br><br> }<br>}<br><br>but when I try to run xorp I get this:<br><br>[ 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<br>
[ 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<br>[ 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<br>
[ 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<br>[ 2009/06/03 10:03:37 INFO xorp_rtrmgr:7164 RTRMGR +2233 task.cc run_task ] No more tasks to run<br>
<br><br><br><br>why ??? what's wrong ?? <br>I can ping the vifs, they seem ok<br><br><br>