[ipxe-devel] dhcp over vlan?

Oliver Rath rath at mglug.de
Fri Jul 27 08:59:23 UTC 2012


Hi list,

is it possible to get a ip-address via dhcp for a vlan-device in ipxe?

I.e. Im doing in ipxe:

vcreate --tag 15 net0
dhcp net-15

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)


and a dhcp-server (dnsmasq) is listening to 192.168.100.254:

# grep 100 /etc/dnsmasq.conf
dhcp-range=192.168.100.70,192.168.100.170,255.255.255.0,12h

dnsmasq is listening to all interface.

Whats wrong here?

Tfh!

Oliver





More information about the ipxe-devel mailing list