second IP address

Alexander Dalloz alexander.dalloz at uni-bielefeld.de
Tue Jun 22 23:42:29 UTC 2004


Am Mi, den 23.06.2004 schrieb Nina Pham um 1:34:

> I need to create a vpn server on my FC2 system server. I want to have a 
> second IP address dedicated for the vpn server. How do I make the system 
> to recognize both ip addresses(its own , and vpn server) at the same time?

Create an aliased ethernet device by i.e. copying
/etc/sysconfig/network-scripts/ifcfg-eth0 to
/etc/sysconfig/network-scripts/ifcfg-eth0:0 and edit that ifcfg-eth0:0
file. Change the device name entry and the IP setting. Finally restart
the network and voila the additional IP is up.

Alexander


-- 
Alexander Dalloz | Enger, Germany | GPG key 1024D/ED695653 1999-07-13
Fedora GNU/Linux Core 2 (Tettnang) on Athlon CPU kernel 2.6.6-1.435 
Serendipity 01:40:32 up 18 min, 8 average: 0.97, 1.06, 0.73 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20040623/94535085/attachment-0001.sig>


More information about the fedora-list mailing list