[ale] assigning ip to second interface
Joe Knapka
jknapka at earthlink.net
Tue Aug 15 13:08:34 EDT 2000
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.
More information about the Ale
mailing list