Port-xen archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
vlan + bridge + xen
I am trying to set up xen networking with a vlan. I have found the
thread in port-xen from May 2007, for example:
http://mail-index.netbsd.org/port-xen/2007/05/26/0003.html
However, that thread does not seem to end with a clear configuration
and I am not able to get everything to work correctly despite being
able to do so between hosts on a real ethernet. I must be missing
something obvious to everyone in the earlier thread.
Below is one iteration of my setup that I thought would mimic the real
ethernet vlan that I can get to work just fine. However, no luck.
Can someone either illustrate a specific configuration known to work
and/or point me to a clear description of the flow of packets through
the myriad interfaces and network stacks. I think I'm having trouble
visualizing the exact pathway for packets as the internal bridging
seems to interact with the vlan differently than I would have
expected.
Thanks alot for your help.
Cheers,
Brook
===========================================================================
dom0:
xvif11.0: flags=8963<UP,BROADCAST,NOTRAILERS,RUNNING,PROMISC,SIMPLEX,MULTICAST>
mtu 1500
capabilities=2800<TCP4CSUM_Tx,UDP4CSUM_Tx>
enabled=0
address: 00:16:3e:01:00:12
inet6 fe80::216:3eff:fe01:12%xvif11.0 prefixlen 64 scopeid 0x11
tap0: flags=8902<BROADCAST,PROMISC,SIMPLEX,MULTICAST> mtu 1500
address: f2:0b:a4:95:13:0b
media: Ethernet autoselect
bridge0: flags=0 mtu 1500
vlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
vlan: 6 parent: tap0
address: f2:0b:a4:95:13:0b
inet 172.30.0.254 netmask 0xffffff00 broadcast 172.30.0.255
inet6 fe80::f00b:a4ff:fe95:130b%vlan0 prefixlen 64 scopeid 0x16
bridge0: flags=0<>
Configuration:
priority 32768 hellotime 2 fwddelay 15 maxage 20
ipfilter disabled flags 0x0
Interfaces:
xvif11.0 flags=3<LEARNING,DISCOVER>
port 17 priority 128
tap0 flags=3<LEARNING,DISCOVER>
port 20 priority 128
Address cache (max cache: 100, timeout: 1200):
Routing tables
Internet:
Destination Gateway Flags Refs Use Mtu Interface
172.30.0/24 link#22 UC 0 0 - vlan0
===========================================================================
domU:
xennet0: flags=8863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST> mtu 1500
capabilities=2800<TCP4CSUM_Tx,UDP4CSUM_Tx>
enabled=0
address: 00:16:3e:00:00:12
inet6 fe80::216:3eff:fe00:12%xennet0 prefixlen 64 scopeid 0x1
vlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1496
vlan: 6 parent: xennet0
address: 00:16:3e:00:00:12
inet 172.30.0.2 netmask 0xffffff00 broadcast 172.30.0.255
inet6 fe80::216:3eff:fe00:12%vlan0 prefixlen 64 scopeid 0x3
Routing tables
Internet:
Destination Gateway Flags Refs Use Mtu Interface
default 172.30.0.254 UGS 0 0 - vlan0
172.30.0/24 link#3 UC 1 0 - vlan0
172.30.0.254 link#3 UHLc 1 8 - vlan0
Home |
Main Index |
Thread Index |
Old Index