Re: NETCONFIG
Witaj Meshbah,
W Twoim liście datowanym 19 kwietnia 2005 (15:06:10) można przeczytać:
MUA> Hi,
MUA> I have Debian (2.2.20). I want to set up 2 IP address
MUA> in my NIC. But failed-
MUA> more /etc/network/interfaces
MUA> # /etc/network/interfaces -- configuration file for
MUA> ifup(8), ifdown(8)
MUA> # The loopback interface
MUA> auto lo eth0 eth0:0
MUA> iface lo inet loopback
MUA> # The first network card - this entry was created
MUA> during the Debian installation
MUA> # (network, broadcast and gateway are optional)
MUA> iface eth0:0 inet static
MUA> address 192.168.0.130
MUA> netmask 255.255.255.0
MUA> network 192.168.0.0
MUA> broadcast 192.168.0.255
MUA> iface eth0 inet static
MUA> address 192.168.200.171
MUA> netmask 255.255.255.0
MUA> network 192.168.200.0
MUA> broadcast 192.168.200.255
MUA> gateway 192.168.200.1
try first eth0 and second eth0:0
if you compiled you kernel witch devices aliasing !!
--
Pozdrowienia,
Sebastian
gg:109442, tlen:seeb1@tlen.pl
Reply to:
- References:
- NETCONFIG
- From: Meshbah Uddin Ahmed <meshbahuddin@yahoo.com>