Re: add an extra ip address to fedora server (one net card)

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

 



online.service.com@xxxxxxxxx wrote:
> Hi all,
> 
> I like to add an extra ip address to my fedora server. But here is my
> ifcfg-eth0 file in under /etc/sysconfig/network-scripts directory
> 
> DEVICE=eth0
> BOOTPROTO=dhcp
> TYPE=Ethernet
> ONBOOT=yes
> 
> there is no IPADDR field. Where possibly i can find "IPADDR" gets defined?
> 
> 
> Thanks!
> 
The reason there is not IPADDR is because you are using DHCP to get
the IP address, as well as things like the netmask, DNS information,
and gateway. This makes it hard to add a second address. The usual
way to do it is with a static address, and using an alias to eth0
for the second address. (eth0:1)

Mikkel
-- 

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!

Attachment: signature.asc
Description: OpenPGP digital signature

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

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

  Powered by Linux