change eth0 to sn0 ?

From: Ratheesh k
Date: Sat Jan 14 2006 - 03:53:39 EST


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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/