Port-xen archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Xen and Netbsd's agr [LONG]
Selon "Brian A. Seklecki (Mobile)"
<bseklecki%collaborativefusion.com@localhost>:
> On Tue, 2008-12-30 at 01:08 +0100, Etienne wrote:
> > DHCPDISCOVER on xennet0 to 255.255.255.255 port 67 interval 3
>
> So no DHCP responses.
Well, see below. And just to help you:
- hercules is my DOM0
- vanguard is my DOMU
- shackleton runs dhcpd
> Can you see these DHCP requests going out of agr0?
Yes. On a completely different machine on the same network, I have:
# tcpdump udp portrange 67-68
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth0, link-type EN10MB (Ethernet), capture size 96 bytes
10:13:44.650596 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, Request
from aa:00:00:ed:61:f5 (oui Unknown), length 300
10:13:51.650787 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, Request
from aa:00:00:ed:61:f5 (oui Unknown), length 300
10:14:02.651328 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, Request
from aa:00:00:ed:61:f5 (oui Unknown), length 300
> Is the Xen interface getting added to bridge0?
> % brconfig -a
Yes, it is.
# brconfig -a
bridge0: flags=41<UP,RUNNING>
Configuration:
priority 32768 hellotime 2 fwddelay 15 maxage 20
ipfilter disabled flags 0x0
Interfaces:
xvif1.0 flags=3<LEARNING,DISCOVER>
port 8 priority 128
agr0 flags=3<LEARNING,DISCOVER>
port 6 priority 128
Address cache (max cache: 100, timeout: 1200):
aa:00:00:ee:61:f5 agr0 1123 flags=0<>
aa:00:00:ed:61:f5 agr0 1122 flags=0<>
00:c0:ca:18:ef:fb agr0 980 flags=0<>
aa:00:00:46:b5:2f agr0 930 flags=0<>
aa:00:00:50:02:f0 agr0 915 flags=0<>
00:13:d4:3b:7a:a0 agr0 915 flags=0<>
And I can see the DHCP requests have been answered in my DHCP server
/var/log/messages:
Dec 30 10:24:03 shackleton dhcpd: DHCPDISCOVER from aa:00:00:ed:61:f5 via
xennet0
Dec 30 10:24:03 shackleton dhcpd: DHCPOFFER on 192.168.1.179 to
aa:00:00:ed:61:f5 via xennet0
And then, while running tcpdump on the DOM0, I get:
tcpdump: WARNING: rtk0: no IPv4 address assigned
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on rtk0, link-type EN10MB (Ethernet), capture size 96 bytes
10:44:35.010523 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, Request
from aa:00:00:ed:61:f5, length: 300
10:44:35.012029 IP shackleton.freebox.1.168.192.in-addr.arpa.bootps >
vanguard.freebox.1.168.192.in-addr.arpa.bootpc: BOOTP/DHCP, Reply, length: 300
10:44:41.010410 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, Request
from aa:00:00:ed:61:f5, length: 300
10:44:41.011862 IP shackleton.freebox.1.168.192.in-addr.arpa.bootps >
vanguard.freebox.1.168.192.in-addr.arpa.bootpc: BOOTP/DHCP, Reply, length: 300
--
Etienne
Home |
Main Index |
Thread Index |
Old Index