networking on LFS based distro [message #2882] |
Mon, 24 April 2006 20:28 |
liamr
Messages: 10 Registered: April 2006
|
Junior Member |
|
|
I'm trying to bring openvz up on an LFS based distro we use at work. I'm not sure which version of the LFS book we used to build it..
Anyhoo.. after some mucking around w/ the scripts in /etc/sysconfig/vz-scripts/dists/scripts, I've made my own set of lfs-add_ip.sh, lfs-del_ip.sh, lfs-set_hostname.sh, and they're sort of working.
The hostname seems to get set.. I get some networking, but I don't seem to have any working routes. Here's the output of "ifconfig -a"
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:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
venet0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:127.0.0.1 P-t-P:127.0.0.1 Bcast:0.0.0.0 Mask:255.255.255.255
UP BROADCAST POINTOPOINT RUNNING NOARP MTU:1500 Metric:1
RX packets:9 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:3101 (3.0 Kb) TX bytes:0 (0.0 b)
venet0:0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:141.213.xxx.yyy P-t-P:141.213.xxx.yyy Bcast:0.0.0.0 Mask:255.255.255.255
UP BROADCAST POINTOPOINT RUNNING NOARP MTU:1500 Metric:1
The broadcast isn't set quite right on venet0:0, but I'm not convinced that's the problem. Route doesn't return anything:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
If I try to add the route by hand, I get "SIOCADDRT: Network is unreachable". Any ideas on how to get this working?
thx
Liam
|
|
|