3 ms·
ifconfig doesn't show the additional IPs on an interface unless they are bound to aliased interface names (eth0:0)
by thwarted 16y ago
ifconfig doesn't show the additional IPs on an interface unless they are bound to aliased interface names (eth0:0)
- jrussbowman 16y agotrue, 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 :)
- ominous_prime 16y agoThis 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.