On Wed, 28 Apr 2004, Chris Purcell wrote: > >> I'd like to assign a static secondary address to the NIC card. I'm > >> not running X server and have used netconfig but it's been unreliable, > >> i.e. cloned interface was not coming up on reboot. > >> > >> So what's the best way to assign (remotely, through SSH using Putty) > >> second IP address to an RH9 box? > > > > > > Edit the /etc/sysconfig/network-scripts/ifcfg-eth1 file. To make the > > changes happen immediately, either restart the network service ("service > > network restart"), or run "ifconfig eth1 192.168.1.1 netmask > > 255.255.255.0". > > > Sorry, I misread your post. Make that the ifcfg-eth0:0 file and run > "ifconfig eth0:0..." instead. My experience, though, is that iptables doesn't seem to work, well, with subinterfaces. -- Mike Burger http://www.bubbanfriends.org Visit the Dog Pound II BBS telnet://dogpound2.citadel.org or http://dogpound2.citadel.org:2000 To be notified of updates to the web site, visit http://www.bubbanfriends.org/mailman/listinfo/site-update, or send a message to: site-update-request@xxxxxxxxxxxxxxxxx with a message of: subscribe -- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list