[ipxe-devel] dhcp over vlan?
Oliver Rath
rath at mglug.de
Fri Jul 27 12:50:29 UTC 2012
Hallo Anton,
On 27.07.2012 11:29, Anton D. Kachalov wrote:
> Hello Oliver,
>
> 27.07.2012, 12:59, "Oliver Rath" <rath at mglug.de>:
>> vcreate --tag 15 net0
>> dhcp net0-15
> Could you please provide an output from "ifstat" command after "vcreate".
ifstat after vcreate results:
iPXE> ifstat
net0: 52:54:00:12:34:56 using undionly on
UNDI-PCI00:03.0 (closed)
[Link:up, TX:4 TXE:0 RX:7 RXE:4]
[RXE: 4 x "Operation not supported
(http://ipxe.org/3c086003)"]
net0-15: 52:54:00:12:34:56 using undionly
on UNDI-PCI00:03.0 (closed)
[Link:up, TX:0 TXE:0 RX:0 RXE:0]
> Do you have switch between server and client? Have you tried to crossover them and setup network without VLAN?
The server runs with a real Machine (ubuntu linux 12.04), where the
client is a kvm-vm, running via
kvm -m 1G -net nic,model=virtio -net
tap,ifname=client3,script=/opt/dmi/kvm-up.bash
the bridge looks like:
# brctl show
bridge name bridge id STP enabled interfaces
br0 8000.0022680a515d no client3
eth0
eth0.15
the forwarding is activated (masquerading and ip_forward).
> What is your network chip on the client? Do you use "undi" version or vendor specific iPXE NBP? Do you use the latest iPXE git version?
I use in kvm the virtio-chip, the undionly, which will be usccessfully
loaded, is a "standard" undionly.kpxe with VLAN_CMD and PXE_CMD enabled.
it was built with
make -j EMBED=dmi-short-menu.ipxe bin/undionly.kpxe DEBUG=script
>> But unfortunatly i get a timeout here.
>>
>> On server-side there exist a vlan:
>>
>> # ifconfig eth0.15
>> eth0.15 Link encap:Ethernet Hardware Adresse 00:22:68:0a:51:5d
>> inet Adresse:192.168.100.254 Bcast:192.168.100.255
>> Maske:255.255.255.0
>> UP BROADCAST MULTICAST MTU:1500 Metrik:1
>> RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>> TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
>> Kollisionen:0 Sendewarteschlangenlänge:0
>> RX-Bytes:0 (0.0 B) TX-Bytes:0 (0.0 B)
> You didn't receive anything on eth0.15.
>
I ran tcpdump with tcpdump -vv -i br0, but nothing to see. :-(
What can I do else for a better error-report?
Tfh!
Oliver
More information about the ipxe-devel
mailing list