Re: one computer two ip address



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

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users


Relevant Pages

  • Re: Antwort: Re: Xen 3.0.3 and VLAN
    ... auto eth0.94 ... iface eth0.94 inet static ... netmask 255.255.255.0 ... If your data center is using a Cisco network (and chances are, ...
    (Debian-User)
  • Re: IP Address networking - best way?
    ... auto eth0 ... netmask 255.255.255.0 ... gateway 70.87.206.49 ... iface eth0:0 inet static ...
    (Debian-User)
  • Re: IP Address networking - best way?
    ... netmask 255.255.255.0 ... gateway 70.87.206.49 ... iface eth0:0 inet static ...
    (Debian-User)
  • Re: Xen in Etch, basic setup
    ... netmask 255.255.255.0 ... running as the gateway. ... Normally the eth1:1 and eth0 auto lines are ... was bouncing between this machine being the router and a wireless router ...
    (Debian-User)
  • Re: Xen in Etch, basic setup
    ... netmask 255.255.255.0 ... running as the gateway. ... Normally the eth1:1 and eth0 auto lines are ... was bouncing between this machine being the router and a wireless router ...
    (Debian-User)