From: Joaquin Urrutia (joaquin.urrutia_at_acens.net)
Date: Sat Mar 09 2002 - 07:51:12 EST
Hi,
We have some problems with vservers.
Our machine manage 2 network interfaces, 1 private interface ( 10.3.0.0
) and 1 public interface ( 217.X.X.X ).
The routing table we have is:
vserver01:~# ip route
217.X.X.X/27 dev eth0 scope link
10.3.0.0/24 dev eth1 scope link
10.0.0.0/12 via 10.3.0.1 dev eth1
127.0.0.0/8 dev lo scope link
default via 217.116.2.129 dev eth0
vserver01:~# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
217.XXX.XXX.X * 255.255.255.224 U 0 0 0 eth0
10.3.0.0 * 255.255.255.0 U 0 0 0 eth1
10.0.0.0 10.0.0.1 255.240.0.0 UG 0 0 0 eth1
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
default 217.XXX.XXX.X 0.0.0.0 UG 0 0 0 eth0
Working in local mode (monitor and keyboard directly conected to the
machine), we dont have any problem to ping a vserver from root system:
vserver01:~# ping 217.XXX.XXX.135
PING 217.XXX.XXX.135 (217.XXX.XXX.135) from 217.XXX.XXX.135 : 56(84) bytes of data.
64 bytes from 217.XXX.XXX.135: icmp_seq=0 ttl=255 time=45 usec
64 bytes from 217.XXX.XXX.135: icmp_seq=1 ttl=255 time=30 usec
64 bytes from 217.XXX.XXX.135: icmp_seq=2 ttl=255 time=31 usec
--- 217.XXX.XXX.135 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max/mdev = 0.030/0.035/0.045/0.008 ms
But, when we work conected through ssh or telnet (conected to 10.3.0.2),
we have some problems:
vserver01:~# ping 217.XXX.XXX.135
PING 217.XXX.XXX.135 (217.XXX.XXX.135) from 10.3.0.2 : 56(84) bytes of data.
64 bytes from 217.XXX.XXX.135: icmp_seq=0 ttl=255 time=45 usec
64 bytes from 217.XXX.XXX.135: icmp_seq=1 ttl=255 time=30 usec
64 bytes from 217.XXX.XXX.135: icmp_seq=2 ttl=255 time=31 usec
--- 217.XXX.XXX.135 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max/mdev = 0.030/0.035/0.045/0.008 ms
Our Network Interfaces:
eth0 Link encap:Ethernet HWaddr 00:B0:D0:F0:31:60
inet addr:217.X.X.X Bcast:217.X.X.X Mask:255.255.255.224
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1306289 errors:0 dropped:0 overruns:0 frame:0
TX packets:1582986 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:411650461 (392.5 Mb) TX bytes:1111851624 (1060.3 Mb)
Interrupt:16
eth0:base Link encap:Ethernet HWaddr 00:B0:D0:F0:31:60
inet addr:217.X.X.X Bcast:217.X.X.X Mask:255.255.255.224
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:16
eth0:bt03 Link encap:Ethernet HWaddr 00:B0:D0:F0:31:60
inet addr:217.X.X.X Bcast:217.X.X.X Mask:255.255.255.224
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:16
eth1 Link encap:Ethernet HWaddr 00:B0:D0:F0:31:61
inet addr:10.3.0.2 Bcast:10.3.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:168177 errors:0 dropped:0 overruns:0 frame:0
TX packets:195368 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:16153875 (15.4 Mb) TX bytes:23079955 (22.0 Mb)
Interrupt:17 Base address:0x2000
Sorry for my english ;)
Regards
-- ------------------------------- Joaquin Urrutia Gonzalezacens (http://www.acens.com)
Equipo de Operacion Tlf: +34 91 1418561 -------------------------------
This archive was generated by hypermail 2.1.4 : Mon Aug 19 2002 - 12:01:01 EDT