[plug] Multiple IP's on one ethX ...
John Summerfield
summer at os2.ami.com.au
Fri Dec 10 18:31:46 WST 1999
> Is it possible with Linux to have two IP addresses bound to one Ethernet card
> ,
> a-la Solaris?? With Solaris you can configure one card (le0) to have addition
> al
> interfaces (le0:1, le0:2, etc ...). Can this be done with Linux??
>
> I'm rummaging thru all the Networking Howto's, but haven't found anything
> yet...
Like this?
eth0 Link encap:Ethernet HWaddr 00:C0:F0:20:25:83
inet addr:192.168.0.2 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:4297161 errors:14 dropped:0 overruns:0 frame:20
TX packets:3223366 errors:0 dropped:0 overruns:0 carrier:0
collisions:165322 txqueuelen:100
Interrupt:10 Base address:0xb400
eth0:0 Link encap:Ethernet HWaddr 00:C0:F0:20:25:83
inet addr:192.168.0.22 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:10 Base address:0xb400
eth1 Link encap:Ethernet HWaddr 00:E0:29:07:13:95
inet addr:192.168.1.2 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:12696787 errors:0 dropped:0 overruns:0 frame:71
TX packets:17803044 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
Interrupt:9 Base address:0xb800
eth1:0 Link encap:Ethernet HWaddr 00:E0:29:07:13:95
inet addr:192.168.1.22 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:9 Base address:0xb800
eth1:1 Link encap:Ethernet HWaddr 00:E0:29:07:13:95
inet addr:192.168.1.23 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:9 Base address:0xb800
eth1:2 Link encap:Ethernet HWaddr 00:E0:29:07:13:95
inet addr:192.168.1.24 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:9 Base address:0xb800
eth1:3 Link encap:Ethernet HWaddr 00:E0:29:07:13:95
inet addr:192.168.1.25 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:9 Base address:0xb800
I set them up so long ago I've forgotten how;-)
I think I did it with the control-panel (RHL 5.0 was current at the time)
--
Cheers
John Summerfield
http://os2.ami.com.au/os2/ for OS/2 support.
Configuration, networking, combined IBM ftpsites index.
More information about the plug
mailing list