OpenVZ Forum


Home » General » Support » veth does not ping itself. Where is the problem?
Re: veth does not ping itself. Where is the problem? [message #35609 is a reply to message #35597] Wed, 08 April 2009 11:08 Go to previous message
divB is currently offline  divB
Messages: 79
Registered: April 2009
Member
Thank you very very much, it really seems to work now.

BUT: I can't see anything on the host. Normally everything i put into eth0 inside a VE should come out on the corresponding veth on the host, shouldn't it? I want to bridge it together with a VLAN, everything anonymous [1].

# ifconfig lo up
# ifconfig eth0 93.83.102.171 netmask 255.255.255.248 up
ns:/# ping 93.83.102.171
PING 93.83.102.171 (93.83.102.171) 56(84) bytes of data.
64 bytes from 93.83.102.171: icmp_seq=1 ttl=64 time=0.080 ms
64 bytes from 93.83.102.171: icmp_seq=2 ttl=64 time=0.052 ms
64 bytes from 93.83.102.171: icmp_seq=3 ttl=64 time=0.041 ms
64 bytes from 93.83.102.171: icmp_seq=4 ttl=64 time=0.058 ms
^C
--- 93.83.102.171 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 2997ms
rtt min/avg/max/mdev = 0.041/0.057/0.080/0.017 ms
# ping 93.83.102.170
PING 93.83.102.170 (93.83.102.170) 56(84) bytes of data.
From 93.83.102.171 icmp_seq=1 Destination Host Unreachable
From 93.83.102.171 icmp_seq=2 Destination Host Unreachable
From 93.83.102.171 icmp_seq=3 Destination Host Unreachable
From 93.83.102.171 icmp_seq=5 Destination Host Unreachable
From 93.83.102.171 icmp_seq=6 Destination Host Unreachable
From 93.83.102.171 icmp_seq=7 Destination Host Unreachable
^C
--- 93.83.102.170 ping statistics ---
9 packets transmitted, 0 received, +6 errors, 100% packet loss, time 8020ms
, pipe 3
#


As you can see, the ping to the own IP works now but to .170 not. Also, there is no output on the host with "tcpdump -i veth300.0"...

Thank you again,
divB

[1] This means: I have a vlan3 on the host without IP, the veth300.0 on the host without IP, bridge them together into br0, also without IP. The eth0 inside the vServer has an IP address and also some other devices in the same Layer2 network (connected to VLAN3).

 
Read Message
Read Message
Read Message
Previous Topic: how to start?
Next Topic: How to rebuild a openvz kernel in linux kernel with version 2.6.24.7 ?
Goto Forum:
  


Current Time: Sun Jul 14 20:25:09 GMT 2024

Total time taken to generate the page: 0.02296 seconds