Re: [Xen-users] Troubleshooting Bridging

Nivedita Singhvi
Tue, 06 Dec 2005 17:47:10 -0000

Adam Carheden wrote:

> No, both the netmask and broadcast are correct and were assigned to
> Dom0 by DHCP.

Any chance you could upgrade to 3.0?
Your config doesn''t look ok by current mainline
xen (not sure if SuSE changed anything) - for instance
you don''t have a vif0.x, and it''s hard to remember
what the earlier scripts did..You can put a set -x
in your network script and step through the logs
to see exactly what it''s doing..

thanks,
Nivedita

> Address:   192.168.109.26
> Netmask:   255.255.254.0 = 23
> Network:   192.168.108.0/23
> Broadcast: 192.168.109.255
> HostMin:   192.168.108.1
> HostMax:   192.168.109.254
> Hosts/Net: 510
>
>
> On 12/5/05, Nivedita Singhvi <niv@us.ibm.com> wrote:
>
>>Adam Carheden wrote:
>>
>>
>>>dom0:/etc/xen # iptables --list
>>>Chain INPUT (policy ACCEPT)
>>>target     prot opt source               destination
>>>
>>>Chain FORWARD (policy ACCEPT)
>>>target     prot opt source               destination
>>>ACCEPT     all  --  anywhere             anywhere            PHYSDEV
match
>>>--physdev-in eth0
>>>
>>>Chain OUTPUT (policy ACCEPT)
>>>target     prot opt source               destination
>>>dom0:/etc/xen # brctl show
>>>bridge name     bridge id               STP enabled     interfaces
>>>xen-br0         8000.00105aac4561       no              eth0
>>>                                                        vif7.0
>>>                                                        vif8.0
>>>dom0:/etc/xen # ifconfig -a
>>>eth0      Link encap:Ethernet  HWaddr 00:10:5A:AC:45:61
>>>          inet addr:192.168.109.26  Bcast:192.168.109.255  Mask:
>>>255.255.254.0
>>
>>Mismatch between your mask and broadcast. Is that 254 a typo?
>>
>>thanks,
>>Nivedita
>>
>>
>>
>>
>>>          inet6 addr: fe80::210:5aff:feac:4561/64 Scope:Link
>>>          UP BROADCAST NOTRAILERS RUNNING MULTICAST  MTU:1500
Metric:1
>>>          RX packets:53322 errors:0 dropped:0 overruns:0 frame:0
>>>          TX packets:34477 errors:0 dropped:0 overruns:0 carrier:0
>>>          collisions:0 txqueuelen:1000
>>>          RX bytes:53151039 (50.6 Mb)  TX bytes:4320684 (4.1 Mb)
>>>          Interrupt:9 Base address:0x1000
>>>
>>>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:13705 errors:0 dropped:0 overruns:0 frame:0
>>>          TX packets:13705 errors:0 dropped:0 overruns:0 carrier:0
>>>          collisions:0 txqueuelen:0
>>>          RX bytes:1004429 (980.8 Kb)  TX bytes:1004429 (980.8 Kb)
>>>
>>>sit0      Link encap:IPv6-in-IPv4
>>>          NOARP  MTU:1480  Metric:1
>>>          RX packets:0 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:0 (0.0 b)  TX bytes:0 (0.0 b)
>>>
>>>vif7.0    Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF
>>>          inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link
>>>          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>>>          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>>>          TX packets:0 errors:0 dropped:420 overruns:0 carrier:0
>>>          collisions:0 txqueuelen:0
>>>          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
>>>
>>>vif8.0    Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF
>>>          inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link
>>>          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>>>          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>>>          TX packets:0 errors:0 dropped:411 overruns:0 carrier:0
>>>          collisions:0 txqueuelen:0
>>>          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
>>>
>>>xen-br0   Link encap:Ethernet  HWaddr 00:10:5A:AC:45:61
>>>          inet addr:192.168.109.26  Bcast:192.168.109.255  Mask:
>>>255.255.255.255
>>>          inet6 addr: fe80::200:ff:fe00:0/64 Scope:Link
>>>          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>>>          RX packets:52126 errors:0 dropped:0 overruns:0 frame:0
>>>          TX packets:33778 errors:0 dropped:0 overruns:0 carrier:0
>>>          collisions:0 txqueuelen:0
>>>          RX bytes:52281788 (49.8 Mb)  TX bytes:4217308 (4.0 Mb)
>>>
>>>Any hints?
>>>
>>>--
>>>Adam Carheden
>>>
>>>
>>>
>>>------------------------------------------------------------------------
>>>
>>>_______________________________________________
>>>Xen-users mailing list
>>>Xen-users@lists.xensource.com
>>>http://lists.xensource.com/xen-users
>>
>>
>>
>
>
>
> --
> Adam Carheden