[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

Re: Configuring two IP



Archan Paul on Tue, Sep 05, 2000 rearranged electrons thusly:

> create the file "/etc/sysconfig/network-scripts/ifcfg-eth0:0" with the
>       IPADDR="192.168.10.32"
>       NETMASK="255.255.255.0"

> On Thu, 31 Aug 2000, you wrote:
> > I wanna configure two IP's on my machine.
> > Arvind Bir

That is if you want to bind two ips to a single ethernet card.  You can as well
install another ethernet card on the machine and edit
/etc/sysconfig/network-scripts/ifcfg-eth1 ;)

Or just 

# /sbin/ifconfig eth1 -inet 10.0.3.11 netmask 255.0.0.0 up

then add a route for that IP

# /sbin/route add default gw 10.0.0.1

-suresh