Hi, I tried to follow up http://www.mail-archive.com/linux-il@cs.huji.ac.il/msg52344.html , and still got undesired behabior. For example I tried to rename eth1 to eth2 and view the results with ifconfig running #sbin/ifconfig shows interfaces eth0 and eth1 no I turned off eth1 /#sbin/ifdown eth1 rename it #/sbin/nameif eth2 <desired mac address> turn on eth2 #/sbin/ifup eth2 Ends successfully but /sbin/ifconfig still shows interface eth0 and eth1
Still puzzled! Yaron Kahanovitch Here is the details: #/sbin/ifconfig eth0 Link encap:Ethernet HWaddr 00:0F:FE:7F:CF:E5 inet addr:172.16.10.75 Bcast:172.16.10.255 Mask:255.255.255.0 inet6 addr: fe80::20f:feff:fe7f:cfe5/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:3927 errors:0 dropped:0 overruns:0 frame:0 TX packets:2587 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:100 RX bytes:4930081 (4.7 MiB) TX bytes:205327 (200.5 KiB) Memory:f0180000-f01a0000 eth1 Link encap:Ethernet HWaddr 00:1B:21:10:AB:B5 inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0 inet6 addr: fe80::21b:21ff:fe10:abb5/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:94 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:100 RX bytes:0 (0.0 b) TX bytes:16601 (16.2 KiB) Base address:0x1100 Memory:f0200000-f0220000 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:2782 errors:0 dropped:0 overruns:0 frame:0 TX packets:2782 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:3341308 (3.1 MiB) TX bytes:3341308 (3.1 MiB) Now lets turn off eth0 and eth1 #/sbin/ifdown eth0 #/sbin/ifdown eth1 /sbin/ifconfig lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:3294 errors:0 dropped:0 overruns:0 frame:0 TX packets:3294 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:3355660 (3.2 MiB) TX bytes:3355660 (3.2 MiB) Lets rename the interface eth1: #/sbin/nameif eth2 00:1B:21:10:AB:B5 #/sbin/ifup eth2 #sbin/ifconfig eth1 Link encap:Ethernet HWaddr 00:1B:21:10:AB:B5 inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0 inet6 addr: fe80::21b:21ff:fe10:abb5/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:101 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:100 RX bytes:0 (0.0 b) TX bytes:17107 (16.7 KiB) Base address:0x1100 Memory:f0200000-f0220000 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:3294 errors:0 dropped:0 overruns:0 frame:0 TX packets:3294 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:3355660 (3.2 MiB) TX bytes:3355660 (3.2 MiB) ----- Original Message ----- From: "shimi" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Cc: "Israeli Linux mailing-list" <linux-il@cs.huji.ac.il>, "yaron" <[EMAIL PROTECTED]>, "nir" <[EMAIL PROTECTED]>, "Ran" <[EMAIL PROTECTED]> Sent: Monday, July 7, 2008 10:33:00 AM (GMT+0200) Asia/Jerusalem Subject: Re: switching eth4 and eth0 On Mon, Jul 7, 2008 at 10:04 AM, < [EMAIL PROTECTED] > wrote: Hi guys, This is silly, but at this one I find myself totaly helpless. I have two cards (on a fedora core 8 station), a gigabit, on board and a 10/100. The Gigabit card is mapped to eth2 and the 10/100 is mapped to eth4. One of the libraries uses flexlm for licensing purposes. The license file is keyed on th 10/100 interface's MAC address. Unfortunately, the flexlm likes to use eth0 to verify the mac address. To solve the problem I tried to change the eth4 interface to eth0 without success. Can anyone help me with that? There was a thread about this 4 days ago... http://www.mail-archive.com/linux-il@cs.huji.ac.il/msg52344.html -- Shimi