linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* change eth0 to sn0        ?
@ 2006-01-14  8:54 Ratheesh k
  2006-01-14 14:45 ` Jon Masters
  0 siblings, 1 reply; 5+ messages in thread
From: Ratheesh k @ 2006-01-14  8:54 UTC (permalink / raw)
  To: linux-kernel

i m using  fc3


$ ifconfig

eth0      Link encap:Ethernet  HWaddr 00:11:2F:38:07:D9
           inet addr:172.16.7.104  Bcast:172.16.7.255  Mask:255.255.252.0
           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
           RX packets:6506 errors:0 dropped:0 overruns:0 frame:0
          TX packets:5120 errors:0 dropped:0 overruns:0 carrier:0
          collisions:1256 txqueuelen:1000
          RX bytes:1951142 (1.8 Mb)  TX bytes:1027381 (1003.3 Kb)
          Interrupt:23 Base address:0x3800

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:78 errors:0 dropped:0 overruns:0 frame:0
          TX packets:78 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:5420 (5.2 Kb)  TX bytes:5420 (5.2 Kb)


     $ ifconfig eth0 down
     $ ifconfig sn0  172.16.8.1   netmask 255.255.252.0

sn0  intreface is added by driver .


what i want is , i want to  use the hw addreess of eth0 , irq of eth0 to sn0 
.

ie , i want  to do

$ ifconfig  sno 172.16.8.1 mtu 1500 irq 193 hw ether 00:11:2f:77:fd:c2

what i have to do ?

_________________________________________________________________
How good are you in a Formula One car? Play now 
http://server1.msn.co.in/sp05/tataracing/onlinegame.asp


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: change eth0 to sn0 ?
  2006-01-14  8:54 change eth0 to sn0 ? Ratheesh k
@ 2006-01-14 14:45 ` Jon Masters
  0 siblings, 0 replies; 5+ messages in thread
From: Jon Masters @ 2006-01-14 14:45 UTC (permalink / raw)
  To: Ratheesh k; +Cc: linux-kernel

On 1/14/06, Ratheesh k <ratheesh.ksz@hotmail.com> wrote:

> what i want is , i want to  use the hw addreess of eth0 , irq of eth0 to sn0

> $ ifconfig  sno 172.16.8.1 mtu 1500 irq 193 hw ether 00:11:2f:77:fd:c2

You don't want to set the IRQ of sn0 equal to that of eth0 :-)

Jon.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: change eth0 to sn0        ?
  2006-01-14 14:21 ` Bernd Eckenfels
@ 2006-01-14 14:36   ` Tomasz Torcz
  0 siblings, 0 replies; 5+ messages in thread
From: Tomasz Torcz @ 2006-01-14 14:36 UTC (permalink / raw)
  To: Bernd Eckenfels; +Cc: linux-kernel

[-- Attachment #1: Type: text/plain, Size: 349 bytes --]

On Sat, Jan 14, 2006 at 03:21:14PM +0100, Bernd Eckenfels wrote:
> >     $ ifconfig eth0 down
>       # nameif sn0 00:11:2F:38:07:D9

 Better use standard tools:

 ip link set name sn0 dev nf

-- 
Tomasz Torcz                Only gods can safely risk perfection,
zdzichu@irc.-nie.spam-.pl     it's a dangerous thing for a man.  -- Alia


[-- Attachment #2: Type: application/pgp-signature, Size: 229 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: change eth0 to sn0        ?
  2006-01-14  8:55 Ratheesh k
@ 2006-01-14 14:21 ` Bernd Eckenfels
  2006-01-14 14:36   ` Tomasz Torcz
  0 siblings, 1 reply; 5+ messages in thread
From: Bernd Eckenfels @ 2006-01-14 14:21 UTC (permalink / raw)
  To: linux-kernel

Ratheesh k <ratheesh.ksz@hotmail.com> wrote:
> eth0      Link encap:Ethernet  HWaddr 00:11:2F:38:07:D9
>           inet addr:172.16.7.104  Bcast:172.16.7.255  Mask:255.255.252.0
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:6506 errors:0 dropped:0 overruns:0 frame:0
>          TX packets:5120 errors:0 dropped:0 overruns:0 carrier:0
>          collisions:1256 txqueuelen:1000
>          RX bytes:1951142 (1.8 Mb)  TX bytes:1027381 (1003.3 Kb)
>          Interrupt:23 Base address:0x3800

>     $ ifconfig eth0 down
      # nameif sn0 00:11:2F:38:07:D9

Gruss
Bernd

^ permalink raw reply	[flat|nested] 5+ messages in thread

* change eth0 to sn0        ?
@ 2006-01-14  8:55 Ratheesh k
  2006-01-14 14:21 ` Bernd Eckenfels
  0 siblings, 1 reply; 5+ messages in thread
From: Ratheesh k @ 2006-01-14  8:55 UTC (permalink / raw)
  To: linux-kernel

i m using  fc3


$ ifconfig

eth0      Link encap:Ethernet  HWaddr 00:11:2F:38:07:D9
           inet addr:172.16.7.104  Bcast:172.16.7.255  Mask:255.255.252.0
           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
           RX packets:6506 errors:0 dropped:0 overruns:0 frame:0
          TX packets:5120 errors:0 dropped:0 overruns:0 carrier:0
          collisions:1256 txqueuelen:1000
          RX bytes:1951142 (1.8 Mb)  TX bytes:1027381 (1003.3 Kb)
          Interrupt:23 Base address:0x3800

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:78 errors:0 dropped:0 overruns:0 frame:0
          TX packets:78 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:5420 (5.2 Kb)  TX bytes:5420 (5.2 Kb)


     $ ifconfig eth0 down
     $ ifconfig sn0  172.16.8.1   netmask 255.255.252.0

sn0  intreface is added by driver .


what i want is , i want to  use the hw addreess of eth0 , irq of eth0 to sn0 
.

ie , i want  to do

$ ifconfig  sno 172.16.8.1 mtu 1500 irq 193 hw ether 00:11:2f:77:fd:c2

what i have to do ?

_________________________________________________________________
Spice up your IM conversations. New, colorful and animated emoticons. Get 
chatting! http://server1.msn.co.in/SP05/emoticons/


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2006-01-14 14:45 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-01-14  8:54 change eth0 to sn0 ? Ratheesh k
2006-01-14 14:45 ` Jon Masters
2006-01-14  8:55 Ratheesh k
2006-01-14 14:21 ` Bernd Eckenfels
2006-01-14 14:36   ` Tomasz Torcz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).