oh yes I didn't give their routing tables :/
in the VE0
ip addr ls
2: lo: <LOOPBACK,UP,10000> mtu 16436 qdisc noqueue
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
4: eth0: <BROADCAST,MULTICAST,UP,10000> mtu 1500 qdisc pfifo_fast qlen 1000
link/ether 00:30:1b:b6:f2:1c brd ff:ff:ff:ff:ff:ff
inet 10.3.0.50/24 scope global eth0
1: venet0: <BROADCAST,POINTOPOINT,NOARP,UP,10000> mtu 1500 qdisc noqueue
link/void
3: veth103.0: <BROADCAST,MULTICAST,UP,10000> mtu 1500 qdisc noqueue
link/ether 00:18:51:b4:a6:85 brd ff:ff:ff:ff:ff:ff
inet 10.4.0.50/24 scope global veth103.0
and
ip route ls
10.4.0.0/24 dev veth103.0 proto kernel scope link src 10.4.0.50
10.3.0.0/24 dev eth0 proto kernel scope link src 10.3.0.50
127.0.0.0/8 dev lo scope link
default via 10.3.0.13 dev eth0
In the VE
ip addr l
1: lo: <LOOPBACK,UP,10000> mtu 16436 qdisc noqueue
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
3: venet0: <BROADCAST,POINTOPOINT,NOARP> mtu 1500 qdisc noqueue
link/void
inet 127.0.0.1/32 scope host venet0
5: eth0: <BROADCAST,MULTICAST,UP,10000> mtu 1500 qdisc noqueue
link/ether 00:18:51:ce:18:98 brd ff:ff:ff:ff:ff:ff
inet 10.4.0.52/24 brd 10.4.0.255 scope global eth0
and
ip r l10.4.0.0/24 dev eth0 proto kernel scope link src 10.4.0.52
default via 10.4.0.50 dev eth0
There is nothing special. Let me know if you need anything else.
[Updated on: Mon, 05 February 2007 16:02]
Report message to a moderator