i am sorry...
 
and do an rcnetwork restart afterwards...
 
-------Original Message-------
 
Date: Monday, December 16, 2002 3:20:58 PM
Subject: Re: [ph-linux-newbie] need help for ip aliasing
 
hi len,
 
i am assuming that you only have 1 network interface card and what you want to do is to  alias different networks into one NIC. you can do the do the following:
 
1.  from your /etc/sysconfig/network directory, copy the file ifcfg-eth0 to ifcfg-eth0:1 file and edit that newly created file.
2.  once opened, you will  see the following:
 
BOOTPROTO="static"
BROADCAST="10.106.1.255"
IPADDR="10.106.1.xx"
NETMASK="255.255.255.0"
NETWORK="10.106.1.0"
STARTMODE="onboot"
UNIQUE="CLZK.K9WUehUzi26"
 
3.  let us say that your eth0 ip is 10.106.1.xx and you want to create an alias for the network 10.106.2.xx, you can do the following:
 
BOOTPROTO="static"
BROADCAST="10.106.2.255"
IPADDR="10.106.2.xx"
NETMASK="255.255.255.0"
NETWORK="10.106.2.0"
STARTMODE="onboot"
#UNIQUE="CLZK.K9WUehUzi26"
 
pleae note that I only edited the lines BROADCAST, IPADDR, and NETWORK and commented out UNIQUE.
 
you can do the same for all IPs that you want.. SuSE should read through the contents of this directory and find these files fine...  :)

hth,
 
(and yes, I am also using SuSE v8.0)
 
-------Original Message-------
 
Date: Monday, December 16, 2002 3:16:08 PM
Subject: [ph-linux-newbie] need help for ip aliasing
 
hello,

is anybody can send me an instructions about ip-aliasing (i'm using SuSE
8.0)? How can I keep the settings through a reboot? tnx :)

-len

_______________________________________________
ph-linux-newbie mailing list
http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie
plug website http://plug.linux.org.ph
to unsubscribe, send 'unsubscribe' to [EMAIL PROTECTED]

.
____________________________________________________
  IncrediMail - Email has finally evolved - Click Here

Reply via email to