Re: one NIC & two ipaddress ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Am Sa, den 13.11.2004 schrieb Raghu Vadapalli um 22:15:

> Is it possible to configure the same with two ipaddresses ?
> some thing like 192.169.1.1 & 172.16.1.1 assuming that both networks
> are reachable.

> Raghu

cp -a /etc/sysconfig/network-scripts/ifcfg-eth0
/etc/sysconfig/network-scripts/ifcfg-eth0:0

Change the settings in ifcfg-eth0:0 according to your needs/wishes and
do a

service network restart

A different way would be to use iproute2 and no aliased ethernet device:

ip addr add 172.16.1.1/24 brd 172.16.1.255 dev eth0 label eth0

This is not stored by default and will have to be saved at a proper
place to be executed at each network start.

Alexander


-- 
Alexander Dalloz | Enger, Germany | new address - new key: 0xB366A773
legal statement: http://www.uni-x.org/legal.html
Fedora GNU/Linux Core 2 (Tettnang) on Athlon kernel 2.6.8-1.521smp 
Serendipity 22:34:24 up 24 days, 20:13, load average: 0.25, 0.34, 0.37 

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux