OpenVZ Forum


Home » General » Support » netmask and broadcast addresses
netmask and broadcast addresses [message #35727] Fri, 17 April 2009 20:00 Go to next message
mklebel is currently offline  mklebel
Messages: 2
Registered: April 2009
Junior Member
getting a container created works great with this command (except it doesn't set the hostname):
vzctl create 101 --ostemplate gentoo-openvz-i686-current --ipadd 192.168.1.110 --hostname foo

ip address is good, I can ping the Host machine IP, but not the router, or anything else.

# ifconfig:

venet0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:192.168.1.110 P-t-P:192.168.1.110 Bcast:0.0.0.0 Mask:255.255.255.255
UP BROADCAST POINTOPOINT RUNNING NOARP MTU:1500 Metric:1
RX packets:23 errors:0 dropped:0 overruns:0 frame:0
TX packets:22 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2681 (2.6 KiB) TX bytes:3293 (3.2 KiB)



I'm really new to this so just tell me what info or details I'm missing.
Re: netmask and broadcast addresses [message #35742 is a reply to message #35727] Mon, 20 April 2009 09:48 Go to previous messageGo to next message
maratrus is currently offline  maratrus
Messages: 1495
Registered: August 2007
Location: Moscow
Senior Member
# ip a l (from HN and from inside the VE)
# ip r l (from HN and from inside the VE)
# arp -n (from HN)
# check iptables rules (on the HN and inside VE)
# check sysctl parameters - http://wiki.openvz.org/Quick_installation#sysctl
[SOLVED] Re: netmask and broadcast addresses [message #35749 is a reply to message #35727] Tue, 21 April 2009 00:20 Go to previous messageGo to next message
mklebel is currently offline  mklebel
Messages: 2
Registered: April 2009
Junior Member
hmm, not sure what I did... but I re-installed Gentoo and recompiled the openvz kernel and now networking works great.

[Updated on: Tue, 21 April 2009 00:21]

Report message to a moderator

Re: [SOLVED] Re: netmask and broadcast addresses [message #35754 is a reply to message #35749] Tue, 21 April 2009 03:51 Go to previous message
maratrus is currently offline  maratrus
Messages: 1495
Registered: August 2007
Location: Moscow
Senior Member
Then try remembering the difference between suggested commands output in last configuration and configuration that was before. Smile
Previous Topic: ipt_recent is now missing?
Next Topic: Meetme admin mode
Goto Forum:
  


Current Time: Fri Jul 19 11:22:52 GMT 2024

Total time taken to generate the page: 0.02430 seconds