Re: Make eth0 be eth1, something like eth0=eth1?
On Mon, Jun 10, 2002 at 03:41:29AM -0400, Anthony DeRobertis wrote: > On Sun, 2002-06-09 at 09:46, AE Roy wrote: > > > I'm looking for a way in which I can turn my eth0 into eth1. I've been > > thru all the files in /etc/network but I didn't find what I'm looking for. > > I've never used it, but according to the manpage, nameif can do this. > > see man 8 nameif. You should be able to switch the modprobe lines in /etc/modules.conf. In debian, this means changing the file in /etc/modutils that has the aliases for eth0 and eth1. You'll probably also have to change the interface information in /etc/network/interfaces, unless you use dhcp for both cards. -- Nick -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Make eth0 be eth1, something like eth0=eth1?
On Sun, 2002-06-09 at 09:46, AE Roy wrote: > I'm looking for a way in which I can turn my eth0 into eth1. I've been > thru all the files in /etc/network but I didn't find what I'm looking for. I've never used it, but according to the manpage, nameif can do this. see man 8 nameif. signature.asc Description: This is a digitally signed message part
Re: Make eth0 be eth1, something like eth0=eth1?
AE Roy wrote: > I'm looking for a way in which I can turn my eth0 into eth1. > I was imagening something along the lines of eth0=eth1. If you're using kernel 2.4 and package iproute2, you could do it like this: ip link set eth0 name eth1 -- [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Make eth0 be eth1, something like eth0=eth1?
On Sun, Jun 09, 2002 at 04:51:10PM +0200, Tobias Jahn wrote: > I have not tested this, but try the following kernel parameter at boot time > (i.e. in your lilo/grub configuration or by hand): > > ether=0,0,eth1 > > (The format is ether=irq,addr,name where 0 indicates autoprobe for irq and > addr.) > > As stated above, don't know if this works with a single nic. I've just tested this on a laptop. But unfortunately it does not work for me. I guess there is a way to pass some options to the kernel module for the pcmcia-nic (pcnet_cs.o in my case). If that does not help, it seems not to be possible to have eth1 without eth0. Perhaps there is a way to create some "dummy" device eth1, which routes all traffic to eth0 and vice versa. But this is very hypothetical and I don't tried this :-( -- Greetings, Tobias PGP/GnuPG Key ID 0xAE034AAD (preferred) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Make eth0 be eth1, something like eth0=eth1?
Hello Roy, On Sun, Jun 09, 2002 at 06:46:48AM -0700, AE Roy wrote: > I'm looking for a way in which I can turn my eth0 into eth1. I've been > thru all the files in /etc/network but I didn't find what I'm looking for. I have not tested this, but try the following kernel parameter at boot time (i.e. in your lilo/grub configuration or by hand): ether=0,0,eth1 (The format is ether=irq,addr,name where 0 indicates autoprobe for irq and addr.) As stated above, don't know if this works with a single nic. -- Greetings, Tobias PGP/GnuPG Key ID 0xAE034AAD (preferred) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]