eth1 on VPS [message #7397] |
Fri, 13 October 2006 00:27 ![Go to next message Go to previous message](/theme/ovz3/images/down.png) |
ferp2
Messages: 29 Registered: May 2006
|
Junior Member |
|
|
Hi,
I have the following openvz setup:
2.6.8-022stab064-up on Debian Sarge.
HN and VPS (101, 102, 103, 104) on subnet 192.168.0.0
I decided to add Samba to VPS 104. Reading the forums, I learned that a VPS cannot send and receive broadcast signals, needed by Samba. Since I had 2 nic cards, I did:
Quote: | vzctl set 104 --netdev_add eth1 --save
|
Logged into VPS 104, I put the following in /etc/network/interfaces.template:
Quote: | auto eth1
iface eth1 inet static
address 192.168.0.104
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
gateway 192.168.0.254
|
Logged into the HN, I removed any config for eth1.
2 Problems:
1. Logged into VPS 104, I cannot ping the HN or the other, regular VPSs. Logged into the HN, I likewise cannot ping VPS 104. How do I enable communication between VPS 104 and the HN/other VPSs.
2. Logged into VPS 104, if I do ifconfig -a, I see that both eth1 and venet0 are up. Is this right? Shouldn't venet0 be turned off when running VPS 104 from eth1. If this is true how do I prevent venet0 from getting configured when restarting VPS 104.
Thank you.
|
|
|