Unifix knowledge database - The original one

Dashboard - News - Search - List - About - Admin


Change NIC MAC in linux

Author:mike - Sat Jun 14 16:33:14 2003

root@spacecamp:~# ifconfig eth2 down
root@spacecamp:~# ifconfig eth2 hw ether aa:aa:aa:aa:aa:aa
root@spacecamp:~# ifconfig eth2 up
root@spacecamp:~# ifconfig eth2
eth2      Link encap:Ethernet  HWaddr AA:AA:AA:AA:AA:AA
          inet addr:192.168.20.1  Bcast:192.168.20.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1275 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:0 (0.0 b)  TX bytes:319067 (311.5 Kb)
          Interrupt:11 Base address:0x4000

Copyright(c) Unifix.org 2002-2011


Dashboard - News - Search - List - About - Admin
 
Powered by Mikjaer Consulting Solutions - Hosted by Specialhosting.dk