iPXE discussion forum
VLAN - not able to establish connection. - Printable Version

+- iPXE discussion forum (https://forum.ipxe.org)
+-- Forum: iPXE user forums (/forumdisplay.php?fid=1)
+--- Forum: General (/forumdisplay.php?fid=2)
+--- Thread: VLAN - not able to establish connection. (/showthread.php?tid=11129)



VLAN - not able to establish connection. - Baefisch - 2018-04-09 12:49

hi,
i am using ipxe.lkrn for booting into a ipxe shell. I am able to create a vlan interface, assign ip/gw/nm. But not able to ping to my gateway.

do the following:

vcreate --tag 443 net0
ifopen net0-443
set net0/ip 10.146.19.102
set net0/gw 10.146.19.1
set net0/netmask 255.255.255.0

If i try to ping the gateway, i got connection timed out.
Cisco Switchport ist configured to trunk.

did i miss anything?


RE: VLAN - not able to establish connection. - NiKiZe - 2018-04-09 16:43

I have not yet played with the vlan features of iPXE
but are you sure that set net0/ip is correct, and that it shouldn't be net0-443/ip (as used in your ifopen command)
if that still does not work, make sure that you also do ifopen on the underlying device; both ifopen net0-443 and ifopen net0