2006-01-14 08:54:34

by Ratheesh k

[permalink] [raw]
Subject: change eth0 to sn0 ?

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


2006-01-14 14:45:32

by Jon Masters

[permalink] [raw]
Subject: Re: change eth0 to sn0 ?

On 1/14/06, Ratheesh k <[email protected]> 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.