Re: Multiple IP addresses without aliasing?

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

 



Ryan Lynch wrote:
On Fri, Aug 28, 2009 at 17:36, Sam Varshavchik<mrsam@xxxxxxxxxxxxxxx> wrote:
Ryan Lynch writes:

Do the Fedora network init scripts support additional secondary IP
addresses without the use of alias labels?  Does an option for IPv4
addresses exist that works like IPV6ADDR_SECONDARIES?

I just skimmed /usr/share/doc/initscripts-*/sysconfig.txt, but I
didn't see anything to that effect, so I'm guessing the answer is no,
and I have to use aliases and 'ifcfg-eth?:0' files.
Yes, at least for IPv4. There is absolutely no support from the GUI, but you
can manually install /etc/sysconfig/network-scripts/ifcfg-ethX:Y. For
example, I have an ifcfg-eth1 and an ifcfg-eth1:1, with a second IP address.
Just copy ifcfg-ethX to ifcfg-ethX:1, and stick in an additional IP address.

That's exactly what I'm trying to avoid--I don't want Fedora to add
the 'eth0:0', 'eth0:1', etc. labels.  I'm wondering if the init
scripts support multiple addresses WITHOUT aliases.

At his point I think it would be good to explain what you are really trying to do, rather than how you would like to do it. What do you expect to see if you do what you want, and what tools would you use in place of the normal tools which expect an alias?

Note, adding a address via "ip" works in some odd ways you might not expect, and you have to set up routing by hand as well. What is wrong with the alias method which works for the rest of us?

--
Bill Davidsen <davidsen@xxxxxxx>
  "We have more to fear from the bungling of the incompetent than from
the machinations of the wicked."  - from Slashdot

--
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