[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] assigning ip to second interface
- Subject: [ale] assigning ip to second interface
- From: jknapka at earthlink.net (Joe Knapka)
- Date: Tue, 15 Aug 2000 17:08:34 +0000
Wandered Inn wrote:
>
> Joe Knapka wrote:
> >
> > What is the exact ifconfig command you are using? (For both
> > cards, just for the heck of it.)
>
> Here is how it's called from the network script in /etc/rc.d/init.d:
>
> ifconfig eth0 192.168.255.220 broadcast 192.168.255.255 netmask
> 255.255.255.0 up
>
> ifconfig eth1 "192.168.55.320 broadcast 192.168.55.255 netmask
> 255.255.255.0 up
Here's your problem. Each component of an IP address must be less than
256,
since they're each 8 bits. That ".320" has got to be changed to
something
more reasonable.
Er, also, there's not *really* a double-quote in the eth1 command,
right?
HTH,
-- Joe
*** Joseph Knapka ***
In any formula, constants (especially those obtained from handbooks)
are to be treated as variables.
--
To unsubscribe: mail majordomo at ale.org with "unsubscribe ale" in message body.