Re: OpenVZ and IP masquerading [message #2877 is a reply to message #2725] |
Mon, 24 April 2006 14:42 |
Santi
Messages: 7 Registered: April 2006
|
Junior Member |
|
|
Hello dev,
Command outputs, "xxx" == public IP address:
Quote: |
midori:~# ip a l
2: lo: <LOOPBACK,UP> 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> mtu 1500 qdisc pfifo_fast qlen 1000
link/ether 00:05:1c:19:67:f4 brd ff:ff:ff:ff:ff:ff
inet xxx/19 brd 255.255.255.255 scope global eth0
6: eth1: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 1000
link/ether 00:05:1c:03:26:36 brd ff:ff:ff:ff:ff:ff
inet 192.168.0.210/24 brd 192.168.0.255 scope global eth1
3: venet0: <BROADCAST,POINTOPOINT,NOARP,UP> mtu 1500 qdisc noqueue
link/void
midori:~# ip r l
192.168.0.5 dev venet0 scope link src xxx
192.168.0.0/24 dev eth1 proto kernel scope link src 192.168.0.210
83.213.128.0/19 dev eth0 proto kernel scope link src xxx
default via 83.213.128.1 dev eth0
|
Regards,
--
Santi Saez
|
|
|