On 08/21/2014 11:47 AM, GKH wrote: > Robert, > Sorry Dude. I did not mean to make things worse. > All I wanted to say is this: It can be done via > the ifconfig command. > > Now, > > # systemctl status network.service This tells me you are not using Centos6 which does not have systemd. Or at least not my systems. > > Tells me that network services still depend on: > > "ExecStart=/etc/rc.d/init.d/network start" > > Good! File: "/etc/sysconfig/network-scripts/ifup-eth" > > Says: "39 # bail out, if the MAC does not fit" > > Ok, perfect. As you already guessed we need to make this change > early on. However, if all else fails, you can always source > a custom script here and problem solved. I hope to get a conf file setup to do the work. > > I know, this is not elegant. But as an SA who sometimes needs to > do dirty deeds... > > Again, apologies if I am being too simplistic/stupid here. > > GKH > > >> On 08/21/2014 10:56 AM, GKH wrote: >>> I just did it like this: >>> >>> ifconfig enp3s0 >>> >>> enp3s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 >>> inet 10.241.27.154 netmask 255.255.255.0 broadcast 10.241.27.255 >>> inet6 fe80::210:18ff:fe04:4d0 prefixlen 64 scopeid 0x20<link> >>> ether 00:10:18:04:04:d0 txqueuelen 1000 (Ethernet) >>> RX packets 429591 bytes 41991957 (40.0 MiB) >>> RX errors 0 dropped 0 overruns 0 frame 0 >>> TX packets 249536 bytes 19108398 (18.2 MiB) >>> TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 >>> device interrupt 18 >>> >>> ifconfig enp3s0 hw ether 00:10:18:04:04:d7 >>> >>> ifconfig enp3s0 >>> enp3s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 >>> inet 10.241.27.154 netmask 255.255.255.0 broadcast 10.241.27.255 >>> inet6 fe80::210:18ff:fe04:4d0 prefixlen 64 scopeid 0x20<link> >>> ether 00:10:18:04:04:d7 txqueuelen 1000 (Ethernet) >>> RX packets 429615 bytes 41994383 (40.0 MiB) >>> RX errors 0 dropped 0 overruns 0 frame 0 >>> TX packets 249549 bytes 19109350 (18.2 MiB) >>> TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 >>> device interrupt 18 >>> Done! >>> >>> -GKH >> I need the changes to be permanent to apply across boots. Thus using >> ifcfg-eth0 rather than ifconfig. >> >> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>>> On 08/21/2014 10:32 AM, m.roth@xxxxxxxxx wrote: >>>>> Keith Keller wrote: >>>>>> On 2014-08-21, John R Pierce <pierce@xxxxxxxxxxxx> wrote: >>>>>>> On 8/21/2014 7:09 AM, Robert Moskowitz wrote: >>>>>>>> I am trying to override the mac addr. >>>>>>> pretty sure you need to use NIC model specific utilities to do this, >>>>>>> ifcfg-ethN won't do it. the hwaddr= in there is for finding the nic, >>>>>>> not for reprogramming it. >>>>>> ifconfig claims to support it: >>>>>> >>>>>> hw class address >>>>> <snip> >>>>> Also, don't forget /etc/udev/rules.d/70-persistant-net.rules >>>> I can't forget what I don't know. please point me to description of >>>> these rules? >> _______________________________________________ >> CentOS mailing list >> CentOS@xxxxxxxxxx >> http://lists.centos.org/mailman/listinfo/centos >> > > _______________________________________________ > CentOS mailing list > CentOS@xxxxxxxxxx > http://lists.centos.org/mailman/listinfo/centos > _______________________________________________ CentOS mailing list CentOS@xxxxxxxxxx http://lists.centos.org/mailman/listinfo/centos