Skip to content

Comment on Time-saving tips for Linuxparent

Comments

ifconfig doesn't show the additional IPs on an interface unless they are bound to aliased interface names (eth0:0)

true, but that's how we've always done it where I work.

We use chroot to support multiple web apps with their own ip/domain on a single box. real simple to just add a new /etc/sysconfig/network-script/ifcfg-eth#:# with the proper network config. We can then ifup and ifdown them as necessary, they come up on boot if the config is set...

Just always made sense :)

This isn't really an argument for using ifconfig.

On RHEL and related systems, ifup, ifdown, and everything in /etc/sysconfig/network-scripts/ are all implemented with the `ip` command.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.