*SOLVED* Access two subnets on two different NICs from VE with venet adapter [message #14258] |
Wed, 20 June 2007 15:34 |
christoph
Messages: 19 Registered: July 2006
|
Junior Member |
|
|
Hello!
I've the following problem, when I like to access two different subnets on two different NICs on HN from a VE with venet adapter.
Ok, here is my situation in detail.
HN: eth0 10.0.0.101/24
eth1 192.168.255.1/24
VE: venet0:0 10.0.0.123
venet0:1 192.168.255.33
Now I try to ping to some other machine on the network from within the VE.
-bash-3.00# ping 10.0.0.102
PING 10.0.0.102 (10.0.0.102) 56(84) bytes of data.
64 bytes from 10.0.0.102: icmp_seq=0 ttl=63 time=0.138 ms
64 bytes from 10.0.0.102: icmp_seq=1 ttl=63 time=0.135 ms
--- 10.0.0.102 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 999ms
rtt min/avg/max/mdev = 0.135/0.136/0.138/0.011 ms, pipe 2
-bash-3.00# ping 192.168.255.2
PING 192.168.255.2 (192.168.255.2) 56(84) bytes of data.
--- 192.168.255.2 ping statistics ---
3 packets transmitted, 0 received, 100% packet loss, time 1999ms
-bash-3.00# logout
exited from VE 1001
[root@HN ~]# ping 192.168.255.2
PING 192.168.255.2 (192.168.255.2) 56(84) bytes of data.
64 bytes from 192.168.255.2: icmp_seq=0 ttl=64 time=0.176 ms
I also checked with tcpdump on 192.168.255.2 and found out that the echo request arrives, but with a source IP of 10.0.0.123.
I don't want to use the veth adapter for security reasons.
How can I best solve that problem with venet adapter?
Thank you,
Christoph
[Updated on: Thu, 28 June 2007 07:36] by Moderator Report message to a moderator
|
|
|