About this list Date view Thread view Subject view Author view Attachment view

From: Martin Pauly (pauly_at_hrz.uni-marburg.de)
Date: Wed 16 Mar 2005 - 18:10:37 GMT

Hello Herbert,

thanks for your reply, we managed to track down things a bit further:

I wrote:
> The ifconfig call inside /sbin/vserver introduces another route on eth1:
> master22:/etc/vservers# ip route sh
> dev eth0  proto kernel  scope link  src
[other routes]

> 4. Now I adjust the routing tables:
> master22:/etc/vservers# ip route del dev eth0
> master22:/etc/vservers# ip route add dev eth0 src table 2
> master22:/etc/vservers# ip route add default dev eth0 via src
> table 2
> RTNETLINK answers: Network is unreachable

There seems to be an issue with the additional route introduced by ifconfig.
If I simply leave it in place for the moment, build the second table, and
remove it _afterwards_, things seem to be fine.
Looks weird to me, though ...

BTW: I learned from your examples that chbind is useful for testing such
network stuff, but I also learned that ping happily breaks out of its IP jail:

master22:~# chbind --ip ping -R -c 1
ipv4root is now
PING ( 56(124) bytes of data.
64 bytes from icmp_seq=1 ttl=254 time=1.35 ms

--- ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 1.359/1.359/1.359/0.000 ms

I verified this on the target machine (a solaris box).
So raw sockets seem to be a different story altogether.

Greetz, Martin

  Dr. Martin Pauly     Fax:    49-6421-28-26994
  HRZ Univ. Marburg    Phone:  49-6421-28-23527
  Hans-Meerwein-Str.   E-Mail: pauly_at_HRZ.Uni-Marburg.DE
  D-35032 Marburg

_______________________________________________ Vserver mailing list Vserver_at_list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver

About this list Date view Thread view Subject view Author view Attachment view
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Wed 16 Mar 2005 - 18:38:30 GMT by hypermail 2.1.3