[plug] ip alias on 2.4

Craig Ringer craig at postnewspapers.com.au
Thu Jun 13 15:12:47 WST 2002


man ifconfig

ifconfig eth0 add 192.168.0.1

eth0      Link encap:Ethernet  HWaddr 00:40:F4:28:A7:B3
           inet addr:10.0.0.10  Bcast:10.255.255.255  Mask:255.255.255.0
           EtherTalk Phase 2 addr:65280/184
           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
           RX packets:2118806 errors:0 dropped:0 overruns:0 frame:0
           TX packets:1634101 errors:0 dropped:0 overruns:2 carrier:0
           collisions:0
           RX bytes:2620063718 (2.4 GiB)  TX bytes:252587122 (240.8 MiB)

eth0:0    Link encap:Ethernet  HWaddr 00:40:F4:28:A7:B3
           inet addr:192.168.0.1  Bcast:10.255.255.255 
Mask:255.255.255.0          UP BROADCAST RUNNING MULTICAST  MTU:1500 
Metric:1

-- 
Craig Ringer
GPG Key Fingerprint: AF1C ABFE 7E64 E9C8 FC27  C16E D3CE CDC0 0E93 380D
	-- if it ain't broke, add features 'till it is. (or:)
	while (! broken) { feature ++ ; }




More information about the plug mailing list