PDA

View Full Version : Rename network card


cristinsimion
2005-05-05, 02:49 AM CDT
I have a gateway with two NIC-s, one eth0 and the second eth1.
When I inserted a third NIC kudzu detected it as dev10075 and not eth2.
Can you please help me rename the third NIC to eth2? as dev10075 iptraf doesn't see it as a NIC and it's harder to manage this way.

tashirosgt
2005-05-05, 07:35 AM CDT
I'm also curious about the "standard" way of doing this. If the nameif command works, you might use it in a script in /etc/rc.d/rc.local to force the proper naming. But then you must figure out whether some services (like smbd) that use the interfaces have already gotten started before this happens. They would have to be restarted.