Linux-VServer Virtual Servers using Linux VServer #11

Bind IPv4

watts:/home/samv# ip addr list
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
2: eth0: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 1000
    link/ether 00:40:f4:79:14:b0 brd ff:ff:ff:ff:ff:ff
    inet 202.78.240.73/25 brd 202.78.240.255 scope global eth0
3: eth1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop qlen 1000
    link/ether 00:04:75:d5:28:67 brd ff:ff:ff:ff:ff:ff
4: dummy0: <BROADCAST,NOARP,UP> mtu 1500 qdisc noqueue
    link/ether ca:76:47:08:0b:76 brd ff:ff:ff:ff:ff:ff
    inet 192.168.255.254/24 brd 192.168.255.255 scope global dummy0
    inet 192.168.255.5/24 brd 192.168.255.255 scope global secondary dummy0
    inet 192.168.255.19/24 brd 192.168.255.255 scope global secondary dummy0
    inet 192.168.255.49/24 brd 192.168.255.255 scope global secondary dummy0
    inet 192.168.255.1/24 brd 192.168.255.255 scope global secondary dummy0
    inet 192.168.255.18/24 brd 192.168.255.255 scope global secondary dummy0
    inet 192.168.255.36/24 brd 192.168.255.255 scope global secondary dummy0
    inet 192.168.255.33/24 brd 192.168.255.255 scope global secondary dummy0

watts:/home/samv# chbind --ip 127.0.0.1 chcontext --secure ip addr list
 ipv4root is now 127.0.0.1
New security context is 49160
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
watts:/home/samv#
Copyright © 2005, 2006, Catalyst IT Ltd.