Mailing List Archive

network start loses the network
Since updating from unstable yesterday I'm losing the network
when xend starts. The culprit appears to be the 'network' script.
Details below. I just noticed that if I run 'network start' by hand
I get this error:

*network start bridge=xen-br0 netdev=eth0 antispoof=yes
iptables v1.2.7a: can't initialize iptables table `filter': iptables who? (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.

What version of iptables is needed now?

I also noticed that in xend-config.sxp I have
(vif-antispoof no)

But the message above shows 'antispoof=yes'. Something got broke.

Before it runs I have this:

[mjw@dhcp-28-24 scripts]$ route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
15.144.24.0 0.0.0.0 255.255.248.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 15.144.24.1 0.0.0.0 UG 0 0 0 eth0

eth0 Link encap:Ethernet HWaddr 00:60:B0:FC:F3:6D
inet addr:15.144.28.24 Bcast:15.144.31.255 Mask:255.255.255.255
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:4534 errors:0 dropped:0 overruns:0 frame:0
TX packets:213 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:443795 (433.3 Kb) TX bytes:37427 (36.5 Kb)
Interrupt:18 Base address:0x7ce0

After it runs I have the following and no network:

Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
15.144.24.0 0.0.0.0 255.255.248.0 U 0 0 0 veth0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 veth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 15.144.24.1 0.0.0.0 UG 0 0 0 veth0

eth0 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF
UP BROADCAST RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:1434 errors:0 dropped:0 overruns:0 frame:0
TX packets:178 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:149013 (145.5 Kb) TX bytes:32691 (31.9 Kb)
Interrupt:18 Base address:0x7ce0

veth0 Link encap:Ethernet HWaddr 00:60:B0:FC:F3:6D
inet addr:15.144.28.24 Bcast:15.144.31.255 Mask:255.255.255.255
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:197 errors:0 dropped:0 overruns:0 frame:0
TX packets:14 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:18011 (17.5 Kb) TX bytes:1428 (1.3 Kb)

vif0.0 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:14 errors:0 dropped:0 overruns:0 frame:0
TX packets:197 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1428 (1.3 Kb) TX bytes:18011 (17.5 Kb)

xen-br0 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:193 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:14775 (14.4 Kb) TX bytes:0 (0.0 b)


Mike



_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users
Re: network start loses the network [ In reply to ]
On Thu, 2005-05-26 at 12:18 +0100, Mike Wray wrote:
> Since updating from unstable yesterday I'm losing the network
> when xend starts.

I have observed the same thing, Mike. In fact, I just saw with in the
latest xen-unstable-src.tgz file, May 26 20:08. The problem is I cannot
recreate it consistently; sometimes it just seems to work.


> The culprit appears to be the 'network' script.
> Details below. I just noticed that if I run 'network start' by hand
> I get this error:
>
> *network start bridge=xen-br0 netdev=eth0 antispoof=yes
> iptables v1.2.7a: can't initialize iptables table `filter': iptables who? (do you need to insmod?)
> Perhaps iptables or your kernel needs to be upgraded.
>
> What version of iptables is needed now?
>
> I also noticed that in xend-config.sxp I have
> (vif-antispoof no)
>
> But the message above shows 'antispoof=yes'. Something got broke.
>
> Before it runs I have this:
>
> [mjw@dhcp-28-24 scripts]$ route -n
> Kernel IP routing table
> Destination Gateway Genmask Flags Metric Ref Use Iface
> 15.144.24.0 0.0.0.0 255.255.248.0 U 0 0 0 eth0
> 169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
> 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
> 0.0.0.0 15.144.24.1 0.0.0.0 UG 0 0 0 eth0
>
> eth0 Link encap:Ethernet HWaddr 00:60:B0:FC:F3:6D
> inet addr:15.144.28.24 Bcast:15.144.31.255 Mask:255.255.255.255
> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> RX packets:4534 errors:0 dropped:0 overruns:0 frame:0
> TX packets:213 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:1000
> RX bytes:443795 (433.3 Kb) TX bytes:37427 (36.5 Kb)
> Interrupt:18 Base address:0x7ce0
>
> After it runs I have the following and no network:
>
> Kernel IP routing table
> Destination Gateway Genmask Flags Metric Ref Use Iface
> 15.144.24.0 0.0.0.0 255.255.248.0 U 0 0 0 veth0
> 169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 veth0
> 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
> 0.0.0.0 15.144.24.1 0.0.0.0 UG 0 0 0 veth0
>
> eth0 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF
> UP BROADCAST RUNNING NOARP MULTICAST MTU:1500 Metric:1
> RX packets:1434 errors:0 dropped:0 overruns:0 frame:0
> TX packets:178 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:1000
> RX bytes:149013 (145.5 Kb) TX bytes:32691 (31.9 Kb)
> Interrupt:18 Base address:0x7ce0
>
> veth0 Link encap:Ethernet HWaddr 00:60:B0:FC:F3:6D
> inet addr:15.144.28.24 Bcast:15.144.31.255 Mask:255.255.255.255
> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> RX packets:197 errors:0 dropped:0 overruns:0 frame:0
> TX packets:14 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:0
> RX bytes:18011 (17.5 Kb) TX bytes:1428 (1.3 Kb)
>
> vif0.0 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF
> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> RX packets:14 errors:0 dropped:0 overruns:0 frame:0
> TX packets:197 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:0
> RX bytes:1428 (1.3 Kb) TX bytes:18011 (17.5 Kb)
>
> xen-br0 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF
> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> RX packets:193 errors:0 dropped:0 overruns:0 frame:0
> TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:0
> RX bytes:14775 (14.4 Kb) TX bytes:0 (0.0 b)
>
>
> Mike
>
>
>
> _______________________________________________
> Xen-users mailing list
> Xen-users@lists.xensource.com
> http://lists.xensource.com/xen-users
>
--
Regards,

David F Barrera
Linux Technology Center
Systems and Technology Group, IBM

"The wisest men follow their own direction. "
Euripides


_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users