[Gllug] Two IPs and one NIC
Alain Williams
addw at phcomp.co.uk
Tue Mar 22 22:31:42 UTC 2011
On Tue, Mar 22, 2011 at 12:16:12PM +0000, John Maclean wrote:
> Dumb question of the day. Is it possible for a box two have two ip addy's one one NIC?
yes
Eg, on one of my boxes:
eth1 Link encap:Ethernet HWaddr 00:18:4D:EA:87:08
inet addr:192.168.145.12 Bcast:192.168.145.255 Mask:255.255.255.0
inet6 addr: fe80::218:4dff:feea:8708/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:85700 errors:0 dropped:0 overruns:0 frame:0
TX packets:1099040 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:42981694 (40.9 MiB) TX bytes:333632102 (318.1 MiB)
Interrupt:66 Base address:0xc00
eth1:1 Link encap:Ethernet HWaddr 00:18:4D:EA:87:08
inet addr:192.168.1.254 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:66 Base address:0xc00
--
Alain Williams
Linux/GNU Consultant - Mail systems, Web sites, Networking, Programmer, IT Lecturer.
+44 (0) 787 668 0256 http://www.phcomp.co.uk/
Parliament Hill Computers Ltd. Registration Information: http://www.phcomp.co.uk/contact.php
#include <std_disclaimer.h>
--
Gllug mailing list - Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug
More information about the GLLUG
mailing list