[opensuse] eth<from hell> , just getting new eth assignments on new cards, want to just virgin it!
i cloned a linux flash appliance (fw/vpn) and when i put the flash cart. in the new system, which is identical except for the mac address on the net cards, the linux then labels eth3 eth4 eth5 the net ports, and i move it to another machine and then its eth6 eth7 eth8 i'd like it to just go virgin again and label them eth0 eth1 eth2 I am grep'ing all over the place for the mac numbers of the new and old interfaces, assuming that somewhere linux has stored these, and when it find new interfaces it is indexing the eth?? under the assumption maybe someone is plugging cards in and out and one doesnt want to lose old ip/mac assignments or soemthing. anyone know where linux keeps MAC id's ? I am using openSUSE10.1 but if someone has a similar story and fix for any other version, it would probably be useful. I can deal with the new assignments if i have to , but i have configs in OpenSwan (klips) that ref the eth##'s and in general for this cloning to be as effortless as possible, i'd like the install to forget about the old Mac address of interfaces it will never see again. -tl -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
tleslie wrote:
i cloned a linux flash appliance (fw/vpn) and when i put the flash cart. in the new system, which is identical except for the mac address on the net cards, the linux then labels eth3 eth4 eth5 the net ports, and i move it to another machine and then its eth6 eth7 eth8
Check /etc/udev/rules.d/30-net_persistent_names. I don't know if what you want is possible, since they are new interfaces, unless the old ones are deleted upon removal. -- Joe Morris Registered Linux user 231871 running openSUSE 10.2 x86_64 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
thanks a million, that was it ... never heard of this udev before (learn something new every day) you da man! thanks -tl On Sat, 2007-03-17 at 22:46 +0800, Joe Morris (NTM) wrote:
tleslie wrote:
i cloned a linux flash appliance (fw/vpn) and when i put the flash cart. in the new system, which is identical except for the mac address on the net cards, the linux then labels eth3 eth4 eth5 the net ports, and i move it to another machine and then its eth6 eth7 eth8
Check /etc/udev/rules.d/30-net_persistent_names. I don't know if what you want is possible, since they are new interfaces, unless the old ones are deleted upon removal.
-- Joe Morris Registered Linux user 231871 running openSUSE 10.2 x86_64
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
In /etc/sysconfig/network there are files for each interface with the
format ifcfg-eth-id-xx:xx:xx:xx:xx:xx . I changed the specific files
to a more generic ifcfg-eth before cloning. The interfaces are working
but im still getting the multiple interfaces issue
On 3/17/07, tleslie
i cloned a linux flash appliance (fw/vpn) and when i put the flash cart. in the new system, which is identical except for the mac address on the net cards, the linux then labels eth3 eth4 eth5 the net ports, and i move it to another machine and then its eth6 eth7 eth8
i'd like it to just go virgin again and label them eth0 eth1 eth2
I am grep'ing all over the place for the mac numbers of the new and old interfaces, assuming that somewhere linux has stored these, and when it find new interfaces it is indexing the eth?? under the assumption maybe someone is plugging cards in and out and one doesnt want to lose old ip/mac assignments or soemthing.
anyone know where linux keeps MAC id's ? I am using openSUSE10.1 but if someone has a similar story and fix for any other version, it would probably be useful.
I can deal with the new assignments if i have to , but i have configs in OpenSwan (klips) that ref the eth##'s and in general for this cloning to be as effortless as possible, i'd like the install to forget about the old Mac address of interfaces it will never see again.
-tl
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (3)
-
Joe Morris (NTM)
-
Jordan Zebor
-
tleslie