focher
03-13-2008, 08:56 PM
Hi,
I created a pretty simple application with an IN gateway appliance, a Linux appliance, and a OUT gateway appliance. I set the IP addresses on the IN and OUT appliances from my valid pool along with the gateway and DNS on the OUT appliance.
When I issue the app start, it eventually fails on starting the OUT appliance with the error that iptables failed to start. I did the app start with a --debug and then checked vmalog and it says:
Failed to add route: ip=192.168.10.1, dflt iface=eth2, err=7
I assume that this IP is automatically issued by the grid for some purpose. I have added my ifconfig and route results below and that network is being forwarded through one of the automatically provisioned interfaces.
eth0 Link encap:Ethernet HWaddr F2:66:07:00:14:07
inet addr:xx.xx.xx.xx Bcast:xx.xx.xx.255 Mask:255.255.255.0
inet6 addr: fe80::f066:7ff:fe00:1407/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:323 errors:0 dropped:0 overruns:0 frame:0
TX packets:23 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:26033 (25.4 KiB) TX bytes:1584 (1.5 KiB)
eth1 Link encap:Ethernet HWaddr F2:66:07:00:14:04
inet addr:10.56.20.16 Bcast:0.0.0.0 Mask:255.255.255.255
inet6 addr: fe80::f066:7ff:fe00:1404/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:5628 errors:0 dropped:0 overruns:0 frame:0
TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:334923 (327.0 KiB) TX bytes:468 (468.0 b)
eth2 Link encap:Ethernet HWaddr F2:66:07:00:14:05
inet addr:10.56.20.21 Bcast:0.0.0.0 Mask:255.255.255.255
inet6 addr: fe80::f066:7ff:fe00:1405/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:8739 errors:0 dropped:0 overruns:0 frame:0
TX packets:3175 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:540751 (528.0 KiB) TX bytes:718243 (701.4 KiB)
eth3 Link encap:Ethernet HWaddr F2:66:07:00:14:06
inet addr:10.56.20.23 Bcast:0.0.0.0 Mask:255.248.0.0
inet6 addr: fe80::f066:7ff:fe00:1406/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:6568 errors:0 dropped:0 overruns:0 frame:0
TX packets:1771 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:443180 (432.7 KiB) TX bytes:260433 (254.3 KiB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:13449 errors:0 dropped:0 overruns:0 frame:0
TX packets:13449 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:5139414 (4.9 MiB) TX bytes:5139414 (4.9 MiB)
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.7.2 * 255.255.255.255 UH 0 0 0 eth3
mon * 255.255.255.255 UH 0 0 0 eth2
10.56.20.15 * 255.255.255.255 UH 0 0 0 eth1
72.233.71.0 * 255.255.255.0 U 0 0 0 eth0
169.254.0.0 * 255.255.0.0 U 0 0 0 eth0
10.56.0.0 * 255.248.0.0 U 0 0 0 eth3
default 1.71.233.72.sta 0.0.0.0 UG 0 0 0 eth0
I created a pretty simple application with an IN gateway appliance, a Linux appliance, and a OUT gateway appliance. I set the IP addresses on the IN and OUT appliances from my valid pool along with the gateway and DNS on the OUT appliance.
When I issue the app start, it eventually fails on starting the OUT appliance with the error that iptables failed to start. I did the app start with a --debug and then checked vmalog and it says:
Failed to add route: ip=192.168.10.1, dflt iface=eth2, err=7
I assume that this IP is automatically issued by the grid for some purpose. I have added my ifconfig and route results below and that network is being forwarded through one of the automatically provisioned interfaces.
eth0 Link encap:Ethernet HWaddr F2:66:07:00:14:07
inet addr:xx.xx.xx.xx Bcast:xx.xx.xx.255 Mask:255.255.255.0
inet6 addr: fe80::f066:7ff:fe00:1407/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:323 errors:0 dropped:0 overruns:0 frame:0
TX packets:23 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:26033 (25.4 KiB) TX bytes:1584 (1.5 KiB)
eth1 Link encap:Ethernet HWaddr F2:66:07:00:14:04
inet addr:10.56.20.16 Bcast:0.0.0.0 Mask:255.255.255.255
inet6 addr: fe80::f066:7ff:fe00:1404/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:5628 errors:0 dropped:0 overruns:0 frame:0
TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:334923 (327.0 KiB) TX bytes:468 (468.0 b)
eth2 Link encap:Ethernet HWaddr F2:66:07:00:14:05
inet addr:10.56.20.21 Bcast:0.0.0.0 Mask:255.255.255.255
inet6 addr: fe80::f066:7ff:fe00:1405/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:8739 errors:0 dropped:0 overruns:0 frame:0
TX packets:3175 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:540751 (528.0 KiB) TX bytes:718243 (701.4 KiB)
eth3 Link encap:Ethernet HWaddr F2:66:07:00:14:06
inet addr:10.56.20.23 Bcast:0.0.0.0 Mask:255.248.0.0
inet6 addr: fe80::f066:7ff:fe00:1406/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:6568 errors:0 dropped:0 overruns:0 frame:0
TX packets:1771 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:443180 (432.7 KiB) TX bytes:260433 (254.3 KiB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:13449 errors:0 dropped:0 overruns:0 frame:0
TX packets:13449 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:5139414 (4.9 MiB) TX bytes:5139414 (4.9 MiB)
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.7.2 * 255.255.255.255 UH 0 0 0 eth3
mon * 255.255.255.255 UH 0 0 0 eth2
10.56.20.15 * 255.255.255.255 UH 0 0 0 eth1
72.233.71.0 * 255.255.255.0 U 0 0 0 eth0
169.254.0.0 * 255.255.0.0 U 0 0 0 eth0
10.56.0.0 * 255.248.0.0 U 0 0 0 eth3
default 1.71.233.72.sta 0.0.0.0 UG 0 0 0 eth0