Difference: DebianNetworking (1 vs. 2)

Revision 220 Jun 2003 - TobyCabot

Line: 1 to 1
 (other DebianTips)
Changed:
<
<
Network configuration in /etc/network/interfaces .
>
>

Multiple IP's on one ethernet port

  Multi-home hosts are possible, make sure that the kernel has "IP: aliasing support" built in. It appears as if you need at least one device named, for example, ethX. If you define, say, an ethX:0 and and ethX:1 then ifconfig won't show them, but if one of them is ethX then both show up OK.
Added:
>
>
Network configuration in /etc/network/interfaces:

iface eth0:1 inet static
		  address 192.168.1.50
		  netmask 255.255.255.0
 For some reason pump doesn't like the :0 aliases so if you're using dhcp then it has to be on ethX.
Changed:
<
<
-- TobyCabot - 05 Jun 2001
>
>
For more info see http://www.tldp.org/HOWTO/mini/IP-Alias/index.html

-- TobyCabot - 05 Jun 2001 - 20 Jun 2003

Revision 105 Jun 2001 - TobyCabot

Line: 1 to 1
Added:
>
>
(other DebianTips)

Network configuration in /etc/network/interfaces .

Multi-home hosts are possible, make sure that the kernel has "IP: aliasing support" built in. It appears as if you need at least one device named, for example, ethX. If you define, say, an ethX:0 and and ethX:1 then ifconfig won't show them, but if one of them is ethX then both show up OK.

For some reason pump doesn't like the :0 aliases so if you're using dhcp then it has to be on ethX.

-- TobyCabot - 05 Jun 2001

View topic | History: r3 < r2 < r1 | More topic actions...
Copyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding The Caboteria? Send feedback