Mailinglist Archive: opensuse (1473 mails)

< Previous Next >
Re: [SLE] 2+ IPs on one machine?
  • From: butch@xxxxxxxx (butch)
  • Date: Thu, 05 Aug 1999 12:56:35 -0700
  • Message-id: <37A9EC73.85C449AC@xxxxxxxx>



one question I have along these lines is this: I have two ethernet
cards. One (eth0) is configured using DHCP (. I've configued as below
for the other addresses, assigning eth0:0 internal IP of 192.168.0.1,
and eth1 192.168.0.2.
For somereason, whenever I have DHCP on, the other two addresses remain
unassigned, even though it is configured in rc.config. when DHCP is
disabled, the cards go up at boot time like they should. Does DHCP
override the rc.config?

Brad Shelton wrote:
>
> On Tue, Aug 03, 1999 at 11:01:25PM +0100, Lee Smallbone wrote:
> > Hello Everyone,
> >
> > Hope you all had a good weekend!
> >
> > I have a question regarding having 1 linux machine answering to more
> > than 1 IP. I know this is possible, I just don't know how to go about
> > it. :)
> >
> > I want the machine which is currently 192.168.1.4 to also respond to
> > 192.168.1.5, 6, 7 and 8. Can anyone tell me how to go about making
> > this happen?
>
> Can't believe nobody answered this already.
>
> Here goes....
>
> #
> # networking
> #
> # number of network cards: "_0" for one, "_0 _1 _2 _3" for four cards
> #
> NETCONFIG="_0 _1 _2 _3 _4"
>
> #
> # IP Adresses
> #
> IPADDR_0="192.168.1.4"
> IPADDR_1="192.168.1.5"
> IPADDR_2="192.168.1.6"
> IPADDR_3="192.168.1.7"
> IPADDR_4="192.168.1.8"
>
> #
> # network device names (e.g. "eth0")
> #
> NETDEV_0="eth0"
> NETDEV_1="eth0:0"
> NETDEV_2="eth0:1"
> NETDEV_3="eth0:2"
> NETDEV_4="eth0:3"
>
> #
> # parameteres for ifconfig, if you put "bootp" into it, bootp will
> # be used to configure it
> # sample entry for ethernet:
> # IFCONFIG_0="x.x.x.x broadcast x.x.x.255 netmask 255.255.255.0"
> #
> IFCONFIG_0="192.168.1.4 broadcast 192.168.1.255 netmask 255.255.255.0 up"
> IFCONFIG_1="192.168.1.5 broadcast 192.168.1.255 netmask 255.255.255.0 up"
> IFCONFIG_2="192.168.1.6 broadcast 192.168.1.255 netmask 255.255.255.0 up"
> IFCONFIG_3="192.168.1.7 broadcast 192.168.1.255 netmask 255.255.255.0 up"
> IFCONFIG_4="192.168.1.8 broadcast 192.168.1.255 netmask 255.255.255.0 up"
>
> #
> # setup dummy network device for IPADDR_0? this is useful for non permanent
> # network connections (e.g. SLIP, PPP). Some software needs a connection
> # to FQHOSTNAME (e.g. plp). (yes, no)
> SETUPDUMMYDEV=no
>
> --
> Brad Shelton On Line Exchange http://online-isp.com
>
> --
> To unsubscribe, e-mail: suse-linux-e-unsubscribe@xxxxxxxx
> For additional commands, e-mail: suse-linux-e-help@xxxxxxxx

< Previous Next >
Follow Ups
References