one computer two ip address
CLIFFORD ILKAY
clifford_ilkay at dinamis.com
Mon Oct 27 21:49:21 UTC 2008
Donny George wrote:
> hello
>
> as a part of maintaining a computer both on a intra network(10th net)
> and also a bigger lan network can we assign the same pc two different
> ips. if so how is it possible
>
> will the etc/network/interfaces file play any role in this transition
Hi,
You can bind multiple IP addresses to one physical interface by adding
them to /etc/network/interfaces. For example:
auto eth0
iface eth0 inet static
address 192.168.0.10
netmask 255.255.255.0
gateway 192.168.0.1
auto eth0:1
iface eth0:1 inet static
address 192.168.0.11
netmask 255.255.255.0
gateway 192.168.0.1
auto eth0:2
iface eth0:1 inet static
address 192.168.0.12
netmask 255.255.255.0
gateway 192.168.0.1
--
Regards,
Clifford Ilkay
Dinamis
1419-3266 Yonge St.
Toronto, ON
Canada M4N 3P6
<http://dinamis.com>
+1 416-410-3326
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3273 bytes
Desc: S/MIME Cryptographic Signature
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20081027/c2ccf77c/attachment.bin>
More information about the ubuntu-users
mailing list