You are not logged in.
I've been reading this article, and understand that renaming interfaces is possible:
http://www.debianhelp.co.uk/udev.htm
It would be helpful to be to be able to rename interfaces, especially on firewalls, to represent the network they are attached to, such as:
eth0 = net
eth1 = lan
eth2 = dmz
Can anyone think of any reasons why this would be a particularly bad idea? Anything Arch specific that relies on interfaces being called ethX?
This would be great when writing iptables rules:
iptables -A FORWARD -i net -o dmz -p tcp --dport 80 -j ACCEPT
iptables -A FORWARD -i lan -o dmz -j ACCEPT
etc etc
Last edited by fukawi2 (2009-06-17 12:49:12)
Are you familiar with our Forum Rules, and How To Ask Questions The Smart Way?
BlueHackers // fscanary // resticctl
Offline
No reason not to do it - the procedure is already outlined on the udev wiki page.
Offline
I did that only old laptop, ipw0 was my wireless rl0 was wired. Afaik the 0 is not required. You could be very verbose and call them 'wired' and 'wireless' I suppose.
The only problem I ever had was the activation licensing in one particular piece of software which was hardcoded to use the mac address of eth0...
Offline
I do it on my laptop to tell my WLAN an LAN adapter apart easily (well they're eth0 and wlan0 by default I think anyway but hey ). My wireless is called 'intel' (Intel Pro/Wireless 4965), my wired called 'marvell' (Marvell Yukon Gigabit LAN).
The only drawback is the time udev takes at boot will be a little bit longer. That's about it I guess.
Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy
Offline
Hmmm, cool... My firewalls don't have any packages with registration requirements so that shouldn't be a problem. I'll give it a shot and report back if there's any problems.
To future readers of this thread: If I don't post any problems after this, assume it worked fine
Thanks guys
Last edited by fukawi2 (2009-06-17 12:48:58)
Are you familiar with our Forum Rules, and How To Ask Questions The Smart Way?
BlueHackers // fscanary // resticctl
Offline