Re: Connect VE to two different networks on two different NIC's [message #12766 is a reply to message #12754] |
Wed, 09 May 2007 07:03 ![Go to previous message Go to previous message](/theme/ovz3/images/up.png) ![Go to next message Go to previous message](/theme/ovz3/images/down.png) |
abachn
Messages: 6 Registered: April 2007
|
Junior Member |
|
|
HN1 (non openvz system, names christa)
christa ~ # ip a l
1: eth0: <BROADCAST,MULTICAST,UP,10000> mtu 1500 qdisc pfifo_fast qlen 1000
link/ether 00:0b:cd:29:41:fb brd ff:ff:ff:ff:ff:ff
inet 10.0.0.154/24 brd 10.0.0.255 scope global eth0
inet6 fe80::20b:cdff:fe29:41fb/64 scope link
valid_lft forever preferred_lft forever
2: eth1: <BROADCAST,MULTICAST,UP,10000> mtu 1500 qdisc pfifo_fast qlen 1000
link/ether 00:0b:cd:29:41:fa brd ff:ff:ff:ff:ff:ff
inet 217.195.176.154/24 brd 217.195.176.255 scope global eth1
inet6 fe80::20b:cdff:fe29:41fa/64 scope link
valid_lft forever preferred_lft forever
3: 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 brd 127.255.255.255 scope host lo
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
4: sit0: <NOARP> mtu 1480 qdisc noop
link/sit 0.0.0.0 brd 0.0.0.0
christa ~ # ip r l
217.195.176.0/24 dev eth1 proto kernel scope link src 217.195.176.154
10.0.0.0/24 dev eth0 proto kernel scope link src 10.0.0.154
127.0.0.0/8 dev lo scope link
default via 217.195.176.1 dev eth1
I can ping all other combinations of hosts but not on the private class A network from VE1 (citha) to HN1 (christa)
Here are the information on citha!
citha / # ifconfig
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
venet0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:217.195.176.141 P-t-P:217.195.176.141 Bcast:0.0.0.0 Mask:255.255.255.255
UP BROADCAST POINTOPOINT RUNNING NOARP MTU:1500 Metric:1
RX packets:17740 errors:0 dropped:0 overruns:0 frame:0
TX packets:17899 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1692354 (1.6 Mb) TX bytes:2990896 (2.8 Mb)
venet0:1 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:10.0.0.141 P-t-P:10.0.0.141 Bcast:0.0.0.0 Mask:255.255.255.255
UP BROADCAST POINTOPOINT RUNNING NOARP MTU:1500 Metric:1
RX packets:17740 errors:0 dropped:0 overruns:0 frame:0
TX packets:17899 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1692354 (1.6 Mb) TX bytes:2990896 (2.8 Mb)
citha / # ip a 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,UP,10000> mtu 1500 qdisc noqueue
link/void
inet 217.195.176.141/32 scope global venet0
inet 10.0.0.141/32 scope global venet0:1
citha / # ip r l
192.0.2.0/24 dev venet0 scope link
127.0.0.0/8 via 127.0.0.1 dev lo scope link
default via 192.0.2.1 dev venet0
|
|
|