Operating System - HP-UX
1833153 Members
3224 Online
110051 Solutions
New Discussion

Re: Why for each plumb interface I see two entries on my route table?

 
Hector Vargas
Frequent Advisor

Why for each plumb interface I see two entries on my route table?

Hi,

I need to understand why every time I plumb and configure an NIC I get two entries on the route table?
# netstat -rn | grep lan4
192.168.38.101 192.168.38.101 UH 0 lan4 4136
192.168.38.0 192.168.38.101 U 2 lan4 1500

# netstat -in | grep lan4
lan4 1500 192.168.38.0 192.168.38.101 42101617 0 45906175 0 0
# ifconfig lan4
lan4: flags=1843
inet 192.168.38.101 netmask ffffff00 broadcast 192.168.38.255
4 REPLIES 4
Hector Vargas
Frequent Advisor

Re: Why for each plumb interface I see two entries on my route table?

Forgot to add that I am runing HPUX11i
Hector Vargas
Frequent Advisor

Re: Why for each plumb interface I see two entries on my route table?

I found the solution.
rick jones
Honored Contributor

Re: Why for each plumb interface I see two entries on my route table?

Just for posterity, and assuming what I enter is the same as you found, the two entries are one for the host - note the "H" in the flags and the other is for the subnet.
there is no rest for the wicked yet the virtuous have no pillows
Hector Vargas
Frequent Advisor

Re: Why for each plumb interface I see two entries on my route table?

Thats right.
Thanks.