Re: 2 IPs on one nic

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

 



On Fri, Apr 18, 2008 at 20:48:38 +0200,
  Patrick Derwael <patrick@xxxxxxxxxx> wrote:
> Hi list
> 
>  
> 
> Can someone tell me how to add a 2nd IP adress to a nic and ensure that 2nd
> IP is kept after a reboot
> 
> Tried ifconfig eth0 add aaa.bbb.ccc.ddd, but the IP is dropped after reboot
> 
>  
> 
> Any idea ??

The modern command to do that is:
ip addr dev eth0 add aaa.bbb.ccc.ddd/ff
You can put that in rc.local if it is OK if it is set end the end of the
boot process.

The sysconfig for network allows you to have an alias, but that system
is being depreciated as networkmanager takes over. My impression (but I haven't
checked carefully) is that networkmanager doesn't really support complex
static networking at this point.

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[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