x2 IP's one eth

Marco Göbenich mg at vierzehn.com
Wed Jun 2 07:43:12 UTC 2004


Chris Botha wrote:

> I want to set two IP addresses on one Ethernet card. 
> But in text mode, graphics not installed. 
> Thanks 
> JC

Hi!

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

and change the copied file to your needs (!!!you have to edit the device 
name in that file too)

after that

$ service network restart

, and should work well.

Regards

Marco

-- 
vierzehn             Bahnhofstr. 27       Telefon 0 26 32 / 98 98 - 120
public relations     56626 Andernach      Telefax 0 26 32 / 98 98 - 111
GmbH & Co. KG                             E-Mail: mg at vierzehn.com





More information about the fedora-list mailing list