---------- Original Question ----------
On 2.x, netstat -in shows following:
Name Mtu Net/Dest Address Ipkts Ierrs Opkts Oerrs Collis
Queue
lo0 8232 127.0.0.0 127.0.0.1 70 0 70 0 0
0
le0 1500 38.0.0.0 38.160.6.25 10542 1080 4780 1 38
0
I *want* it to show following:
Name Mtu Net/Dest Address Ipkts Ierrs Opkts Oerrs Collis
Queue
lo0 8232 127.0.0.0 127.0.0.1 70 0 70 0 0
0
le0 1500 38.160.6.0 38.160.6.25 10542 1080 4780 1 38
0
(Notice 3rd field of last line).
Which modification ( subnet, etc. ) should I make to achieve my goal?
Just in case it's relevant, this machine is an NIS client, and netstat
-rn
returns following:
Routing Table:
Destination Gateway Flags Ref Use Interface
-------------------- -------------------- ----- ----- ------ ---------
38.0.0.0 38.160.6.25 U 3 41 le0
224.0.0.0 38.160.6.25 U 3 0 le0
default 38.160.6.102 UG 0 2
127.0.0.1 127.0.0.1 UH 0 8 lo0
Thanks.
Igor
---------- End of Original Question ----------
The following people replied:
arvinder@ibd.investors.com
bismark@alta.Jpl.Nasa.Gov
jsdy@cais.com
sjs@sjsinc.com
danielk@tibco.com
hu@garfield.m.isar.de
wightman@acm.org
The answer is:
create entry in /etc/netmasks which says
38 255.255.255.0
Or, if NIS uses netmasks map, put this entry in /etc/netmasks on NIS
server machine.
Alternatively, use ifconfig with netmask argument as above to make the
change dynamically ( without reboot ).
Comment:
In my case, domain is subnetted, so for me 255.255.255.128 mask worked.
Thanks
Igor
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:12:12 CDT