OpenVZ Forum


Home » International » Russian » Сеть в VE
Re: Сеть в VE [message #8963 is a reply to message #8961] Tue, 12 December 2006 08:35 Go to previous messageGo to previous message
Jackara is currently offline  Jackara
Messages: 3
Registered: December 2006
Junior Member
VE0
# 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:16:17:2c:a8:1c brd ff:ff:ff:ff:ff:ff
    inet 172.16.128.82/30 brd 172.16.128.83 scope global eth0
6: eth1: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 1000
    link/ether 00:02:2a:c1:29:45 brd ff:ff:ff:ff:ff:ff
    inet 172.16.128.1/27 brd 172.16.128.31 scope global eth1
1: venet0: <BROADCAST,POINTOPOINT,NOARP,UP> mtu 1500 qdisc noqueue
    link/void


# ip r l
172.16.128.6 dev venet0  scope link
172.16.128.80/30 dev eth0  proto kernel  scope link  src 172.16.128.82
172.16.128.0/27 dev eth1  proto kernel  scope link  src 172.16.128.1
default via 172.16.128.81 dev eth0


VE
# ip a l
1: 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
3: venet0: <BROADCAST,POINTOPOINT,NOARP,UP> mtu 1500 qdisc noqueue
    link/void
    inet 127.0.0.1/32 scope host venet0
    inet 172.16.128.6/32 scope global venet0:0
5: eth1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop
    link/ether 00:02:2a:c1:29:45 brd ff:ff:ff:ff:ff:ff


# ip r l
191.255.255.1 dev venet0  scope link
default via 191.255.255.1 dev venet0


iptables еще не настроен
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: iptables
Next Topic: Venet on VLAN
Goto Forum:
  


Current Time: Mon Sep 09 13:25:15 GMT 2024

Total time taken to generate the page: 0.04369 seconds