[ipxe-devel] Fake MAC address of a 82574L LAN-Chip

Robin Woodtli Robin.Woodtli at kontron.com
Thu Feb 2 07:49:16 UTC 2012


Hello
 
I have to fake the mac address for ipxe-boot. 
For this I will do in the ipxe script:
ifclose net0
set net0/mac 00:30:59:08:00:4C
ifopen net0
dhcp net0
 
Then I become an Connection timed out. But before I do this, the dhcp works.
Can you help me please
 
Regards
Robin
 
This are the debug message of this:
 
PCI 00:00.0 (8086:8100) has no driver
PCI 00:02.0 (8086:8108) has no driver
PCI 00:1b.0 (8086:811b) has no driver
PCI 00:1c.0 (8086:8110) has no driver
PCI 00:1c.1 (8086:8112) has no driver
PCI 00:1d.0 (8086:8114) has no driver
PCI 00:1d.1 (8086:8115) has no driver
PCI 00:1d.2 (8086:8116) has no driver
PCI 00:1d.7 (8086:8117) has no driver
PCI 00:1f.0 (8086:8119) has no driver
PCI 00:1f.1 (8086:811a) has no driver
PCI 02:00.0 (1095:3132) has no driver
PCI 03:00.0 (10b5:8505) has no driver
PCI 04:01.0 unhandled 64-bit BAR 0000313100050504
PCI 04:01.0 (10b5:8505) has no driver
PCI 04:02.0 unhandled 64-bit BAR 000001f100060604
PCI 04:02.0 (10b5:8505) has no driver
PCI 04:03.0 unhandled 64-bit BAR 000001f100080704
PCI 04:03.0 (10b5:8505) has no driver
PCI 04:04.0 unhandled 64-bit BAR 0000414100090904
PCI 04:04.0 (10b5:8505) has no driver
PCI 05:00.0 (8086:10d3) has driver "E1000_DEV_ID_82574L"
PCI 05:00.0 has mem d0320000 io 3000 irq 5
PCI 05:00.0 latency timer is unreasonably low at 0. Setting to 32.
Masking off all interrupts
Issuing a global reset to MAC
Masking off all interrupts
Issuing a global reset to MAC
Initializing the IEEE VLAN
Programming MAC Address into RAR[0]
Clearing RAR[1-u]
Zeroing the MTA
After fix-ups FlowControl is now = 0
Reconfiguring auto-neg advertisement params
autoneg_advertised 2f
Advertise 10mb Half duplex
Advertise 10mb Full duplex
Advertise 100mb Half duplex
Advertise 100mb Full duplex
Advertise 1000mb Full duplex
Auto-Neg Advertising 1e1
Restarting Auto-Neg
Valid link established!!!
hw->fc.current_mode = u
Flow Control = NONE.
1000 Mbs, Full Duplex
hw->fc.current_mode = u
Initializing the Flow Control address, type and timer regs
PCI 07:00.0 (10b5:8112) has no driver
PCI 09:00.0 (8086:10d3) has driver "E1000_DEV_ID_82574L"
PCI 09:00.0 has mem d0420000 io 4000 irq 5
PCI 09:00.0 latency timer is unreasonably low at 0. Setting to 32.
Masking off all interrupts
Issuing a global reset to MAC
Masking off all interrupts
Issuing a global reset to MAC
Initializing the IEEE VLAN
Programming MAC Address into RAR[0]
Clearing RAR[1-u]
Zeroing the MTA
After fix-ups FlowControl is now = 0
Reconfiguring auto-neg advertisement params
autoneg_advertised 2f
Advertise 10mb Half duplex
Advertise 10mb Full duplex
Advertise 100mb Half duplex
Advertise 100mb Full duplex
Advertise 1000mb Full duplex
Auto-Neg Advertising 1e1
Restarting Auto-Neg
Valid link established!!!
hw->fc.current_mode = u
Flow Control = NONE.
1000 Mbs, Full Duplex
hw->fc.current_mode = u
Initializing the Flow Control address, type and timer regs
ok
 
 
 
iPXE 1.0.0+ -- Open Source Network Boot Firmware -- http://ipxe.org 
Features: VLAN HTTP iSCSI DNS TFTP AoE SRP bzImage COMBOOT ELF MBOOT PXE PXEXT
 
net0: 00:30:59:08:00:62 using E1000_DEV_ID_82574L on PCI05:00.0 (open)
  [Link:up, TX:0 TXE:0 RX:0 RXE:0]
DHCP (net0 00:30:59:08:00:62)...... ok
net0: 192.168.71.149/255.255.255.0
Next server: 192.168.71.10
Filename: http://192.168.71.10/cgi-bin/ipxeboot.py 
http://192.168.71.10/cgi-bin/ipxeboot.py... ok
iPXE> ifclose net0
Masking off all interrupts
Issuing a global reset to MAC
Initializing the IEEE VLAN
Programming MAC Address into RAR[0]
Clearing RAR[1-u]
Zeroing the MTA
After fix-ups FlowControl is now = 0
Reconfiguring auto-neg advertisement params
autoneg_advertised 2f
Advertise 10mb Half duplex
Advertise 10mb Full duplex
Advertise 100mb Half duplex
Advertise 100mb Full duplex
Advertise 1000mb Full duplex
Auto-Neg Advertising 1e1
Restarting Auto-Neg
Valid link established!!!
hw->fc.current_mode = u
Flow Control = NONE.
1000 Mbs, Full Duplex
hw->fc.current_mode = u
Initializing the Flow Control address, type and timer regs
iPXE> set net0/mac 00:30:59:08:00:62
iPXE> ifopen net0
iPXE> dhcp net0
DHCP (net0 00:30:59:08:00:62).................. Connection timed out (http://ipx 
e.org/4c106035)
Could not configure net0: Connection timed out (http://ipxe.org/4c106035)
Masking off all interrupts
Issuing a global reset to MAC
Initializing the IEEE VLAN
Programming MAC Address into RAR[0]
Clearing RAR[1-u]
Zeroing the MTA
After fix-ups FlowControl is now = 0
Reconfiguring auto-neg advertisement params
autoneg_advertised 2f
Advertise 10mb Half duplex
Advertise 10mb Full duplex
Advertise 100mb Half duplex
Advertise 100mb Full duplex
Advertise 1000mb Full duplex
Auto-Neg Advertising 1e1
Restarting Auto-Neg
Valid link established!!!
hw->fc.current_mode = u
Flow Control = NONE.
1000 Mbs, Full Duplex
hw->fc.current_mode = u
Initializing the Flow Control address, type and timer regs
iPXE>
iPXE> ifstat net0
net0: 00:30:59:08:00:62 using E1000_DEV_ID_82574L on PCI05:00.0 (closed)
  [Link:up, TX:16 TXE:1 RX:20 RXE:5]
  [TXE: 1 x "No such file or directory (http://ipxe.org/2d01603b)"] 
  [RXE: 1 x "Network unreachable (http://ipxe.org/28056011)"] 
  [RXE: 1 x "The socket is not connected (http://ipxe.org/380f6001)"] 
  [RXE: 3 x "Invalid argument (http://ipxe.org/1c056002)"] 
iPXE>
iPXE> ifopen net0
iPXE> ifstat net0
net0: 00:30:59:08:00:62 using E1000_DEV_ID_82574L on PCI05:00.0 (open)
  [Link:up, TX:16 TXE:1 RX:20 RXE:5]
  [TXE: 1 x "No such file or directory (http://ipxe.org/2d01603b)"] 
  [RXE: 1 x "Network unreachable (http://ipxe.org/28056011)"] 
  [RXE: 1 x "The socket is not connected (http://ipxe.org/380f6001)"] 
  [RXE: 3 x "Invalid argument (http://ipxe.org/1c056002)"] 
iPXE> dhcp net0
DHCP (net0 00:30:59:08:00:62).................. Connection timed out (http://ipx 
e.org/4c106035)
Could not configure net0: Connection timed out (http://ipxe.org/4c106035)
Masking off all interrupts
Issuing a global reset to MAC
Initializing the IEEE VLAN
Programming MAC Address into RAR[0]
Clearing RAR[1-u]
Zeroing the MTA
After fix-ups FlowControl is now = 0
Reconfiguring auto-neg advertisement params
autoneg_advertised 2f
Advertise 10mb Half duplex
Advertise 10mb Full duplex
Advertise 100mb Half duplex
Advertise 100mb Full duplex
Advertise 1000mb Full duplex
Auto-Neg Advertising 1e1
Restarting Auto-Neg
Valid link established!!!
hw->fc.current_mode = u
Flow Control = NONE.
1000 Mbs, Full Duplex
hw->fc.current_mode = u
Initializing the Flow Control address, type and timer regs
iPXE>

The information contained in this document is CONFIDENTIAL and property of
Kontron.
Any unauthorized review, use, disclosure or distribution is prohibited without express
written consent of Kontron. If you are not the intended recipient, please contact the
sender and destroy all copies of the original message and enclosed attachments.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ipxe.org/pipermail/ipxe-devel/attachments/20120202/42ece5fc/attachment.htm>


More information about the ipxe-devel mailing list