OpenVZ Forum


Home » General » Support » Cannot Access Internet
Re: Cannot Access Internet [message #33817 is a reply to message #33816] Wed, 12 November 2008 18:56 Go to previous messageGo to previous message
fatboytim
Messages: 6
Registered: November 2008
Junior Member
Thanks for your reply. Here is the details you asked for. Because this is a private server I have replaced some data with x. Hope this is not a problem for you.

[root@HN ~]# ip a l
2: lo: <LOOPBACK,UP> mtu 16436 qdisc noqueue
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 brd 127.255.255.255 scope host lo
4: eth0: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 100
link/ether 00:14:x:x:x:x brd ff:ff:ff:ff:ff:ff
inet x.x.x.130/27 brd x.x.x.159 scope global eth0
inet x.x.x.131/27 brd x.x.x.159 scope global secondary eth0:0
inet x.x.x.132/27 brd x.x.x.159 scope global secondary eth0:1
inet x.x.x.133/27 brd x.x.x.159 scope global secondary eth0:2
inet x.x.x.134/27 brd x.x.x.159 scope global secondary eth0:3
inet x.x.x.135/27 brd x.x.x.159 scope global secondary eth0:4
6: eth1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop qlen 1000
link/ether 00:0e:x:x:x:x brd ff:ff:ff:ff:ff:ff
1: venet0: <BROADCAST,POINTOPOINT,NOARP,UP> mtu 1500 qdisc noqueue
link/void

[root@VE1 /]# ip a l
1: lo: <LOOPBACK,UP> mtu 16436 qdisc noqueue
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 brd 127.255.255.255 scope host lo
3: venet0: <BROADCAST,POINTOPOINT,NOARP,UP> mtu 1500 qdisc noqueue
link/void
inet 127.0.0.1/32 scope host venet0
inet x.x.x.131/32 brd x.x.x.131 scope global venet0:0

[root@HN ~]# ip rule list
0: from all lookup local
32766: from all lookup main
32767: from all lookup default

[root@VE1 /]# ip rule list
0: from all lookup local
32766: from all lookup main
32767: from all lookup default

[root@HN ~]# ip route list
x.x.x.135 dev venet0 scope link
x.x.x.134 dev venet0 scope link
x.x.x.133 dev venet0 scope link
x.x.x.132 dev venet0 scope link
x.x.x.131 dev venet0 scope link
x.x.x.128/27 dev eth0 proto kernel scope link src x.x.x.130
169.254.0.0/16 dev eth0 scope link
default via x.x.x.129 dev eth0

[root@VE1 /]# ip route list
192.0.2.0/24 dev venet0 scope host
169.254.0.0/16 dev venet0 scope link
default via 192.0.2.1 dev venet0

[root@HN ~]# sysctl -a | grep forward
net.ipv4.conf.venet0.mc_forwarding = 0
net.ipv4.conf.venet0.forwarding = 1
net.ipv4.conf.eth0.mc_forwarding = 0
net.ipv4.conf.eth0.forwarding = 1
net.ipv4.conf.lo.mc_forwarding = 0
net.ipv4.conf.lo.forwarding = 1
net.ipv4.conf.default.mc_forwarding = 0
net.ipv4.conf.default.forwarding = 1
net.ipv4.conf.all.mc_forwarding = 0
net.ipv4.conf.all.forwarding = 1
net.ipv4.ip_forward = 1

There are no rules in iptables.

[root@VE1 /]# ping -c 5 64.131.90.169
PING 64.131.90.169 (64.131.90.169) 56(84) bytes of data.
--- 64.131.90.169 ping statistics ---
5 packets transmitted, 0 received, 100% packet loss, time 3999ms

Here is log from tcpdump on HN while attempting ping on VE:

tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth0, link-type EN10MB (Ethernet), capture size 96 bytes
12:49:04.942286 802.1d unknown version
12:49:06.951581 802.1d unknown version
12:49:07.961363 00:0e:x:x:x:x > 00:0e:x:x:x:x, ethertype Loopback (0x9000), length 60:
0x0000: 0000 0100 0000 0000 0000 0000 0000 0000 ................
0x0010: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x0020: 0000 0000 0000 0000 0000 0000 0000 ..............
12:49:08.681600 00:0e:x:x:x:x > 01:00:x:x:x:x snap ui/C len=35
12:49:08.955156 802.1d unknown version
12:49:10.957731 802.1d unknown version
12:49:12.962806 802.1d unknown version
12:49:14.966631 802.1d unknown version
12:49:16.968956 802.1d unknown version
12:49:17.975738 00:0e:x:x:x:x > 00:0e:x:x:x:x, ethertype Loopback (0x9000), length 60:
0x0000: 0000 0100 0000 0000 0000 0000 0000 0000 ................
0x0010: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x0020: 0000 0000 0000 0000 0000 0000 0000 ..............
12:49:18.974778 802.1d unknown version
12:49:20.982852 802.1d unknown version
12:49:22.987174 802.1d unknown version
12:49:24.987998 802.1d unknown version
12:49:26.825941 CDPv2, ttl: 180s, Device-ID 'x'[|cdp]
12:49:26.991823 802.1d unknown version
12:49:27.996858 00:0e:x:x:x:x > 00:0e:x:x:x:x, ethertype Loopback (0x9000), length 60:
0x0000: 0000 0100 0000 0000 0000 0000 0000 0000 ................
0x0010: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x0020: 0000 0000 0000 0000 0000 0000 0000 ..............
12:49:28.995148 802.1d unknown version
12:49:31.003469 802.1d unknown version
12:49:33.007043 802.1d unknown version
12:49:35.012366 802.1d unknown version
12:49:37.014692 802.1d unknown version
12:49:38.020726 00:0e:x:x:x:x > 00:0e:x:x:x:x, ethertype Loopback (0x9000), length 60:
0x0000: 0000 0100 0000 0000 0000 0000 0000 0000 ................
0x0010: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x0020: 0000 0000 0000 0000 0000 0000 0000 ..............

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Network Problem
Next Topic: Using DRBD with VPS
Goto Forum:
  


Current Time: Sat Sep 07 23:16:50 GMT 2024

Total time taken to generate the page: 0.10776 seconds