[ipxe-devel] - Close network device (really power down, and bring it back up again)
Torgeir.Wulfsberg at kongsberg.com
Torgeir.Wulfsberg at kongsberg.com
Wed Nov 11 10:05:30 UTC 2015
Hi!
Is'it possible to really power down the network interface in iPXE (like linux would do by unloading the kernel module for network drivers "tg3 or e1000e")?
I'm just playing, to se if we can within a iPXE script (I'm just testing 802.1x auth) ->
* dhcp net0 (I would get IP: 192.168.1.10)
* Run "ifclose" and power down network interface (like when pulling the cable out)
* Cisco switch would register that the cable has been disconnected/pulled out
* Change VLAN on that port on the Cisco switch
* Run "ifopen" bring back power (put the cable back)
* dhcp net0 (I would get IP: 10.0.0.10)
* Cisco switch would register that the cable has been connected/plugged in
Could this be achieved?
Is it at all possible to really power down the net interface, or unloading/reloading net drivers?
--
Torgeir
________________________________
CONFIDENTIALITY
This e-mail and any attachment contain KONGSBERG information which may be proprietary, confidential or subject to export regulations, and is only meant for the intended recipient(s). Any disclosure, copying, distribution or use is prohibited, if not otherwise explicitly agreed with KONGSBERG. If received in error, please delete it immediately from your system and notify the sender properly.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ipxe.org/pipermail/ipxe-devel/attachments/20151111/16837f4a/attachment.htm>
More information about the ipxe-devel
mailing list