Hi All,
I am trying to get the OVS plugin working and am running into strange
problems. The short story is that my guest VMs can not get to the internet
even though the virtual router can. I can also ssh into the guest VMs from
the virtual router. My guest network is 10.10.10.0/24, my Public network
is 10.0.0.0/24 on VLAN 3 (I have a router setup to route the Public network
to internet), and my Management/Storage network is 192.168.2.0/24. All
three represent separate physical networks as well. Any ideas or help
would be greatly appreciated. It seems like it must be a problem with the
virtual router?
Here is some diagnostics I have done:
*********************************
* The router has two interfaces with the same IP address. This seems a
little unusual
*********************************
root@r-8-VM:~# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state
UP qlen 1000
link/ether 02:00:20:b0:00:02 brd ff:ff:ff:ff:ff:ff
inet 10.10.10.1/24 brd 10.10.10.255 scope global eth0
inet6 fe80::20ff:feb0:2/64 scope link
valid_lft forever preferred_lft forever
3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state
UP qlen 1000
link/ether 0e:00:a9:fe:03:49 brd ff:ff:ff:ff:ff:ff
inet 169.254.3.73/16 brd 169.254.255.255 scope global eth1
inet6 fe80::c00:a9ff:fefe:349/64 scope link
valid_lft forever preferred_lft forever
4: eth2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state
UP qlen 1000
link/ether 06:d7:00:00:00:f8 brd ff:ff:ff:ff:ff:ff
inet 10.0.0.12/24 brd 10.0.0.255 scope global eth2
inet6 fe80::4d7:ff:fe00:f8/64 scope link
valid_lft forever preferred_lft forever
5: eth3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state
UP qlen 1000
link/ether 06:bd:06:00:00:f8 brd ff:ff:ff:ff:ff:ff
inet 10.0.0.12/24 brd 10.0.0.255 scope global eth3
inet6 fe80::4bd:6ff:fe00:f8/64 scope link
valid_lft forever preferred_lft forever
*********************************
* The route table on the VR
*********************************
root@r-8-VM:~# ip route
default via 10.0.0.1 dev eth2
10.0.0.0/24 dev eth2 proto kernel scope link src 10.0.0.12
10.0.0.0/24 dev eth3 proto kernel scope link src 10.0.0.12
10.10.10.0/24 dev eth0 proto kernel scope link src 10.10.10.1
169.254.0.0/16 dev eth1 proto kernel scope link src 169.254.3.73
*********************************
* The VR can ping linux.org
*********************************
root@r-8-VM:~# ping -c 1 linux.org
PING linux.org (107.170.40.56): 48 data bytes
56 bytes from 107.170.40.56: icmp_seq=0 ttl=49 time=18.518 ms
--- linux.org ping statistics ---
1 packets transmitted, 1 packets received, 0% packet loss
round-trip min/avg/max/stddev = 18.518/18.518/18.518/0.000 ms
*********************************
* The VR can ping a guest VM
*********************************
root@r-8-VM:~# ping -c 1 10.10.10.132
PING 10.10.10.132 (10.10.10.132): 48 data bytes
56 bytes from 10.10.10.132: icmp_seq=0 ttl=64 time=1.284 ms
--- 10.10.10.132 ping statistics ---
1 packets transmitted, 1 packets received, 0% packet loss
round-trip min/avg/max/stddev = 1.284/1.284/1.284/0.000 ms
*********************************
* I can SSH into the guest VM and ping the VR
*********************************
root@r-8-VM:~# ssh 10.10.10.132
[email protected]'s password:
Last login: Tue May 27 21:40:25 2014 from data-server.sams.priv
[root@sams ~]# ping -c 1 10.10.10.1
PING 10.10.10.1 (10.10.10.1) 56(84) bytes of data.
64 bytes from 10.10.10.1: icmp_seq=1 ttl=64 time=0.281 ms
--- 10.10.10.1 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.281/0.281/0.281/0.000 ms
*********************************
* I can NOT ping linux.org from the guest VM
*********************************
[root@sams ~]# ping -c 1 linux.org
PING linux.org (107.170.40.56) 56(84) bytes of data.
--- linux.org ping statistics ---
1 packets transmitted, 0 received, 100% packet loss, time 0ms
*********************************
* The guest VM's interface list and routing table
*********************************
[root@sams ~]# ip a
1: lo: <LOOPBACK,UP,LOWER_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 scope host lo
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast qlen
1000
link/ether 02:00:02:6f:00:01 brd ff:ff:ff:ff:ff:ff
inet 10.10.10.132/24 brd 10.10.10.255 scope global eth0
inet6 fe80::2ff:fe6f:1/64 scope link
valid_lft forever preferred_lft forever
3: sit0: <NOARP> mtu 1480 qdisc noop
link/sit 0.0.0.0 brd 0.0.0.0
[root@sams ~]# ip route
10.10.10.0/24 dev eth0 proto kernel scope link src 10.10.10.132
169.254.0.0/16 dev eth0 scope link
default via 10.10.10.1 dev eth0