Mailing List Archive

Support open source code!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tlug: compatible NICs



On 15 Feb 2000, Simon Cozens wrote:

> Dave (lists.tlug):
> >route add -net 192.168.1.0 dev eth0 give me:
> >
> >siocaddrt: invalid argument
> 
> I'm pretty sure you want a netmask somewhere in there there.
> 
> othersideofthe:root /home/simon # route add -net 192.168.1.0 eth0
> SIOCADDRT: Invalid argument
> othersideofthe:root /home/simon # route add -net 192.168.1.0 netmask  \
> 255.255.255.0 eth0
> 
> 

or, you can do:

route add -net 192.168.1.0/24 eth0

ie, specify the mask as a CIDR block.  For whatever reason, Debian doesn't
seem to like that Syntax, but RH/TL seem to have no problem with it.

--------------------------
Scott M. Stone, CCNA <sstone@example.com>
UNIX Systems and Network Engineer
Taos - The SysAdmin Company 

--------------------------------------------------------------------
Next Nomikai Meeting: February 18 (Fri) 19:00 Tengu TokyoEkiMae
Next Technical Meeting:  March 11 (Sat) 13:00 Temple University Japan
* Topic: TBD
--------------------------------------------------------------------
more info: http://www.tlug.gr.jp        Sponsor: Global Online Japan


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links