Just go to /etc/rc.d/rc.inet1
Here is a sample of what you might see:
----------------------------------------------------------------------------
# IF YOU HAVE AN ETHERNET CONNECTION, use these lines below to configurethe
# eth0 interface. If you're only using loopback or SLIP, don't include the
# rest of the lines in this file.
IPADDR0="192.168.1.248" # REPLACE with YOUR IP address!
NETMASK0="255.255.255.0" # REPLACE with YOUR netmask!
NETWORK0="192.168.1.0" # REPLACE with YOUR network address!
BROADCAST0="192.168.1.255" # REPLACE with YOUR broadcast address, if
you
# have one. If not, leave blank and edit
below.
/sbin/ifconfig eth0 ${IPADDR0} broadcast ${BROADCAST0} netmask ${NETMASK0}
# Edit for your setup.
IPADDR1="192.168.0.100" # REPLACE with YOUR IP address!
NETMASK1="255.255.255.0" # REPLACE with YOUR netmask!
NETWORK1="192.168.0.0" # REPLACE with YOUR network address!
BROADCAST1="192.168.0.255" # REPLACE with YOUR broadcast address, if you
# have one. If not, leave blank and edit below.
GATEWAY="192.168.0.254" # REPLACE with YOUR gateway address!
/sbin/ifconfig eth1 ${IPADDR1} broadcast ${BROADCAST1} netmask ${NETMASK1}
-----------------------------------------------------------------------------
On Wed, 29 Mar 2000, Angelo Lorenzo wrote:
> Dear gurus,
>
> I am familiar only with redhat and I have one
> slackware 7 box brouht by a friend. It has two
> ethernet cards and I need to change the IP addresses
> of the cards to our own set of IPs. What's the comman
> in slackware to do this.
>
> TIA,
> Angelo
>
> __________________________________________________
> Do You Yahoo!?
> Talk to your friends online with Yahoo! Messenger.
> http://im.yahoo.com
>
> -
> Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
> To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]
>
-
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]