OpenVZ Forum


Home » General » Support » networking on LFS based distro
Re: networking on LFS based distro [message #2913 is a reply to message #2904] Wed, 26 April 2006 18:05 Go to previous messageGo to previous message
liamr is currently offline  liamr
Messages: 10
Registered: April 2006
Junior Member
I can do all of the "ip route" commands, but not not the "route add default gw". It returns "SIOCADDRT: Network is unreachable".

So, I tried stepping through the commands you provided.

I can do the "router add default gw" after I do..

ip route add 191.255.255.0/24 dev venet0 scope host

My routing table then looks like..

Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
191.255.255.0 * 255.255.255.0 U 0 0 0 venet0
169.254.0.0 * 255.255.0.0 U 0 0 0 lo
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
default 191.255.255.1 0.0.0.0 UG 0 0 0 venet0

and I can see the outside world
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: vzmigrate
Next Topic: FC5 + 3ware raid
Goto Forum:
  


Current Time: Sat Aug 10 06:14:00 GMT 2024

Total time taken to generate the page: 0.02645 seconds