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]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux