dual nic environment [message #7394] |
Thu, 12 October 2006 21:37 ![Go to next message Go to next message](/theme/ovz3/images/down.png) |
rudal
Messages: 20 Registered: July 2006
|
Junior Member |
|
|
Hello,
is there a way that you can pass eth1 traffic to the VE's and VE's out to eth1?
Currently the host has two NICs, one eth0 and one eth1.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Re: dual nic environment [message #7520 is a reply to message #7516] |
Mon, 16 October 2006 22:55 ![Go to previous message Go to previous message](/theme/ovz3/images/up.png) ![Go to next message Go to next message](/theme/ovz3/images/down.png) |
rudal
Messages: 20 Registered: July 2006
|
Junior Member |
|
|
John Kelly wrote on Mon, 16 October 2006 15:25 |
Yes you did. venet0 *is* an interface, just like eth1. Trying to use the same IP address on venet0 and eth1, will not work.
I'm starting to wonder if you're serious, or just having some fun posting to the forum.
|
John, first of all, I would ask you if you understand the question that I initially posted in this forum.
Secondly, I am sorry but I dont do fun posting.
Thirdly, you are not respecting my posting by making that statement.
If you think this topic is some sort of a joke to you, please do not even view this posting.
Anyway, just in case you are still interested:
Venet0 inside the VE has two IP attached to it.
Venet0 -> the public IP (accessible from the outside)
Venet0:0 -> 10.2.5.2
-bash-3.00# ifconfig
venet0:0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:x.x.x.27 P-t-P:x.x.x.27 Bcast:x.x.x.27 Mask:255.255.255.255
UP BROADCAST POINTOPOINT RUNNING NOARP MTU:1500 Metric:1
venet0:1 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:10.2.5.2 P-t-P:10.2.5.2 Bcast:10.2.5.2 Mask:255.255.255.255
UP BROADCAST POINTOPOINT RUNNING NOARP MTU:1500 Metric:1
and the HW node eth1 IP is:
eth1 Link encap:Ethernet HWaddr 00:0E:0C:7F:0E:D6
inet addr:10.2.4.124 Bcast:10.2.7.255 Mask:255.255.252.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Thanks.
|
|
|
|
|
|
Re: dual nic environment [message #7532 is a reply to message #7511] |
Tue, 17 October 2006 08:36 ![Go to previous message Go to previous message](/theme/ovz3/images/up.png) |
Andrey Mirkin
Messages: 193 Registered: May 2006
|
Senior Member |
|
|
try this from VPS:
-bash-3.00# ping 10.2.4.9 -I 10.2.5.2
Ping command takes first IP address assigned to interface by default. That is why you have to specify IP address (by -I option).
Andrey Mirkin
|
|
|