Re: ifconfig add -> resolver error
Emmanuel Seyman <[email protected]> Mon, 30 Sep 2002 18:54:36 +0200
| Newsgroups | gmane.linux.redhat.release.zoot |
|---|---|
| Message-ID | <[email protected]> |
On Mon, Sep 30, 2002 at 11:14:32AM -0400, Jason Pratt wrote: > Good question: > > I am trying to alias a second ip address onto the same nick - ifconfig > when I'm finished *should* look something like: > > eth0 Link encap:Ethernet HWaddr 00:02:55:9C:20:D1 > inet addr:192.168.1.101 Bcast:192.168.1.255 > > eth0:0 Link encap:Ethernet HWaddr 00:02:55:9C:20:D1 > inet addr:192.168.1.9 Bcast:192.168.1.255 Mask:255.255.255.0 Could you try creating a /etc/sysconfig/network-scripts/ifcfg-eth0:0 file that contains: DEVICE=eth0:0 BOOTPROTO=static BROADCAST=192.168.1.255 IPADDR=192.168.1.9 NETMASK=255.255.255.0 NETWORK=192.168.1.255.0 ONBOOT=yes and type "service network restart" Emmanuel