From: Subhabrata Bhattacharya (xions.microcosm_at_googlemail.com)
Date: Wed 24 Aug 2005 - 11:49:38 BST
Hi,
I am intrigued about how networking is dealt with vserver contexts.In
Xen, virtual bridges are created and the communication occurs through
these bridges within the Xen VMs.Whats the case with the VServer
architecture?
I have the following Vservers running:
$vserver-stat
CTX PROC VSZ RSS userTIME sysTIME UPTIME NAME
0 101 1.7G 716.3M 1d08h02 18h40m14 5d19h54 root server
10 1 2.7M 532K 0m00s10 0m00s10 4h28m52 tintin
11 1 2.7M 532K 0m00s10 0m00s00 4h24m54 snowy
I have assigned the following IP addresses to my Vservers:
[root_at_xion vservers]# ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:01:80:52:29:30
inet addr:192.168.207.222 Bcast:192.168.207.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:27960086 errors:0 dropped:0 overruns:0 frame:0
TX packets:1344605 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:3040888245 (2900.0 Mb) TX bytes:131125658 (125.0 Mb)
Interrupt:17 Base address:0xc000
eth0:snow Link encap:Ethernet HWaddr 00:01:80:52:29:30
inet addr:192.168.207.64 Bcast:192.168.207.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:27960086 errors:0 dropped:0 overruns:0 frame:0
TX packets:1344605 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:3040888245 (2900.0 Mb) TX bytes:131125658 (125.0 Mb)
Interrupt:17 Base address:0xc000
eth0:tint Link encap:Ethernet HWaddr 00:01:80:52:29:30
inet addr:192.168.207.51 Bcast:192.168.207.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:27960086 errors:0 dropped:0 overruns:0 frame:0
TX packets:1344605 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:3040888245 (2900.0 Mb) TX bytes:131125658 (125.0 Mb)
Interrupt:17 Base address:0xc000
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:6034 errors:0 dropped:0 overruns:0 frame:0
TX packets:6034 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2468824 (2.3 Mb) TX bytes:2468824 (2.3 Mb)
When I try to ssh to any of the vservers specifying IP, I end up
getting a shell in the local host machine. What could be the problem?
~$ubh
_______________________________________________
Vserver mailing list
Vserver_at_list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver