Changing assignment order of network cards to eth0, eth1
Hi, I use software that does always use eth0 as red and eth1 as green network card (in sense of Firewall). But cards are detected in wrong order, so would like to swap assignment (so first card would be eth1 and second eth0). Is this possible with some settings ? Regards, Rob.
On Sat, 2005-03-12 at 09:47, Robert Rozman wrote:
Hi,
I use software that does always use eth0 as red and eth1 as green network card (in sense of Firewall). But cards are detected in wrong order, so would like to swap assignment (so first card would be eth1 and second eth0). Is this possible with some settings ?
Regards,
Rob.
I think the first card will always be eth0. Why not just switch the cables? -- Ken Schneider UNIX since 1989, linux since 1994, SuSE since 1998 * Only reply to the list please* "The day Microsoft makes something that doesn't suck is probably the day they start making vacuum cleaners." -Ernst Jan Plugge
----- Original Message -----
From: "Ken Schneider"
On Sat, 2005-03-12 at 09:47, Robert Rozman wrote:
Hi,
I use software that does always use eth0 as red and eth1 as green network card (in sense of Firewall). But cards are detected in wrong order, so would like to swap assignment (so first card would be eth1 and second eth0). Is this possible with some settings ?
Regards,
Rob.
I think the first card will always be eth0. Why not just switch the cables?
Hi, thanks for info. Well I would, but one card is Gigabit and would like to use it on internal network. The other one is 100Mbit thah will go to ADSL side... Regards, Rob.
-- Ken Schneider UNIX since 1989, linux since 1994, SuSE since 1998
* Only reply to the list please*
"The day Microsoft makes something that doesn't suck is probably the day they start making vacuum cleaners." -Ernst Jan Plugge
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
Op zaterdag 12 maart 2005 23:41, schreef Robert Rozman:
thanks for info. Well I would, but one card is Gigabit and would like to use it on internal network. The other one is 100Mbit thah will go to ADSL side...
There is a possibility, don't remember by heart how it is called. It is somewhere in the suse doc (section 22.4 I think ???). The suse docu can be found in rpm suselinux-adminguide (I think it is)... (this is just to let you know that it exist). -- Richard Bos Without a home the journey is endless
----- Original Message -----
From: "Richard Bos"
Op zaterdag 12 maart 2005 23:41, schreef Robert Rozman:
thanks for info. Well I would, but one card is Gigabit and would like to use it on internal network. The other one is 100Mbit thah will go to ADSL side...
There is a possibility, don't remember by heart how it is called. It is somewhere in the suse doc (section 22.4 I think ???). The suse docu can be found in rpm suselinux-adminguide (I think it is)... (this is just to let you know that it exist).
Thanks I found it. It seems more like Suse feature. Is there any general Linux solution ? Thanks in advance, regards, Rob.
The Sunday 2005-03-13 at 09:20 +0100, Robert Rozman wrote:
"Richard Bos"
There is a possibility, don't remember by heart how it is called. It is somewhere in the suse doc (section 22.4 I think ???). The suse docu can be found in rpm suselinux-adminguide (I think it is)... (this is just to let you know that it exist).
Thanks I found it. It seems more like Suse feature. Is there any general Linux solution ?
Could you give the name of that section, please? The adminguide in 9.1 only has 18 chapters, no 22.4 there. -- Cheers, Carlos Robinson
Op zondag 13 maart 2005 17:03, schreef Carlos E. R.:
The Sunday 2005-03-13 at 09:20 +0100, Robert Rozman wrote:
"Richard Bos"
There is a possibility, don't remember by heart how it is called. It is somewhere in the suse doc (section 22.4 I think ???). The suse docu can be found in rpm suselinux-adminguide (I think it is)... (this is just to let you know that it exist).
Thanks I found it. It seems more like Suse feature. Is there any general Linux solution ?
Could you give the name of that section, please? The adminguide in 9.1 only has 18 chapters, no 22.4 there.
Look for PERSISTANT_NAME (grep for it for example). It is in the section manual network configuration. -- Richard Bos Without a home the journey is endless
The Sunday 2005-03-13 at 20:09 +0100, Richard Bos wrote:
Could you give the name of that section, please? The adminguide in 9.1 only has 18 chapters, no 22.4 there.
Look for PERSISTANT_NAME (grep for it for example). It is in the section manual network configuration.
Ah, I was reading in that section precissely, it is 13.3. But the "persistant" word does not appear there, it must be a feature of 9.2, or it is not documented in 9.1. The trick here seems to name the file as "/etc/sysconfig/network/fcfg-eth-id-xx:xx:xx:xx:xx:xx", with the mac address. The file contains the token you mention: # You may set an interface name which is independant of the order of driver # loading. # Note, though, that the genuine names (e.g. eth*) cannot be used here. #PERSISTENT_NAME='en0' It seems that instead of using "eth0" the name "en0" has to be used. Is that the method documented in 9.2? -- Cheers, Carlos Robinson
participants (4)
-
Carlos E. R.
-
Ken Schneider
-
Richard Bos
-
Robert Rozman