Ыcwqacddpp On Aug 21, 2014 6:31 PM, "Robert Moskowitz" <rgm@xxxxxxxxxxxxxxx> wrote: > Did not work... > > On 08/21/2014 10:15 AM, Reindl Harald wrote: > > > > Am 21.08.2014 um 16:09 schrieb Robert Moskowitz: > >> I am trying to override the mac addr. Now this is on an armv7 actually > >> running the F19 kernel and Redsleeve 6, but it SHOULD be standard > >> Centos6 ifcfg-eth0 content. Of course RSEL does not start with a > >> ifcfg-eth0 file, letting network services do all the work, so I am > >> starting from scratch, using the file from one of my C6 boxes with > >> static addressing. My file has in it: > >> > >> DEVICE="eth0" > >> BOOTPROTO=none > >> NM_CONTROLLED="no" > >> ONBOOT="yes" > >> TYPE="Ethernet" > >> NAME="System eth0" > >> DNS1=208.83.67.188 > >> GATEWAY="208.83.67.177" > >> IPADDR="208.83.67.179" > >> HOSTNAME="rigel2.htt-consult.com" > >> IPV6INIT="yes" > >> MACADDR=02:67:15:00:01:79 > >> MTU=1500 > > that's easy - you need to tell it the physical too > > works from Fedora 10 up to Fedora 20 that way > > > > [root@srv-rhsoft:~]$ cat ifcfg-eth1 > > DEVICE=eth1 > > HWADDR=68:05:ca:0d:62:c1 > > MACADDR=00:50:8d:b5:cc:de > > > > "00:50:8d:b5:cc:de" is the on my interface has after it is up > > "68:05:ca:0d:62:c1" is the pysical one of the device before fake it > > > > [root@srv-rhsoft:~]$ ifconfig eth1 > > eth1: flags=67<UP,BROADCAST,RUNNING> mtu 1500 > > inet 62.178.103.85 netmask 255.255.255.0 broadcast > 255.255.255.255 > > ether 00:50:8d:b5:cc:de txqueuelen 500 (Ethernet) > > RX packets 74959980 bytes 25037014848 (23.3 GiB) > > RX errors 0 dropped 0 overruns 0 frame 0 > > TX packets 67607627 bytes 39867204808 (37.1 GiB) > > TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 > > device interrupt 16 memory 0xf7cc0000-f7ce0000 > > > # cat > /etc/sysconfig/network-scripts/ifcfg-eth0 > DEVICE="eth0" > BOOTPROTO=none > NM_CONTROLLED="no" > ONBOOT="yes" > TYPE="Ethernet" > NAME="System eth0" > HWADDR=02:c3:04:01:77:c3 > MACADDR=02:67:15:00:01:79 > MTU=1500 > DNS1=208.83.67.188 > GATEWAY="208.83.67.177" > IPADDR="208.83.67.179" > HOSTNAME="rigel2.htt-consult.com" > IPV6INIT="yes" > [root@redsleeve ~]# service network restart > Shutting down loopback interface: [ OK ] > Bringing up loopback interface: [ OK ] > Bringing up interface eth0: Device eth0 has different MAC address than > expected, ignoring. > [FAILED] > > And now not even an eth1 interface. > > _______________________________________________ > CentOS mailing list > CentOS@xxxxxxxxxx > http://lists.centos.org/mailman/listinfo/centos > _______________________________________________ CentOS mailing list CentOS@xxxxxxxxxx http://lists.centos.org/mailman/listinfo/centos