*SOLVED* networking on LFS based distro [message #2960 is a reply to message #2882] |
Wed, 03 May 2006 19:35 |
liamr
Messages: 10 Registered: April 2006
|
Junior Member |
|
|
I had to make some changes to my /etc/sysconfig/vz-scripts/dists/scripts/lfs-add_ip.sh script. Our distro isn't set up to use /sbin/ip.. we use the traditional ifconfig and route.
So... I changed the contents of /etc/sysconfig/network-devices/route.venet0 to...
route add -net 191.255.255.0/24 dev venet0
route add default gw 191.255.255.1 dev venet0
and then altered out /etc/rc.d/init.d/network to source that file instead of trying it's normal method of setting up the routing.
Anyhoo... looks like it's working now.
|
|
|