Operating System - HP-UX
1825799 Members
2247 Online
109687 Solutions
New Discussion

Modifying network settings

 
B Wade Moll
Frequent Advisor

Modifying network settings

I have the following network settings:

root@visccov1:/etc/rc.config.d>netstat -nrv
Routing tables
Dest/Netmask Gateway Flags Refs Interface Pmtu
127.0.0.1/255.255.255.255 127.0.0.1 UH 0 lo0 4136
138.35.86.151/255.255.255.255 138.35.86.151 UH 0 lan4 4136
138.35.86.0/255.255.255.0 138.35.86.151 U 2 lan4 1500
127.0.0.0/255.0.0.0 127.0.0.1 U 0 lo0 4136
default/0.0.0.0 138.35.86.128 UG 0 lan4 1500
root@visccov1:/etc/rc.config.d>

Which can get out the lan to the network...

root@visccov1:/etc/rc.config.d>ping 138.35.86.0
PING 138.35.86.0: 64 byte packets
64 bytes from 138.35.86.151: icmp_seq=0. time=0. ms
64 bytes from 138.35.86.151: icmp_seq=1. time=0. ms

I've been instructed by network staff to change the following:


138.35.86.0/255.255.255.0 138.35.86.151

to
138.35.86.128/255.255.255.192 138.35.86.151
default/0.0.0.0 138.35.86.128

Can someone please advise on how this is done?

Thank you :)
2 REPLIES 2
Tingli
Esteemed Contributor

Re: Modifying network settings

You can use set_parms to change system ip address and netmask.

# set_parms ip_address
# set_parms addl_netwrk
Rita C Workman
Honored Contributor

Re: Modifying network settings

I guess I might ask ... why?

So I'm hoping some real network guru will jump on this thread, cause to me your netstat output looks right.

Your network folks sound like they think you haven't set 138.35.86.128 as your default route, but you have. The last line in netstat is proof of that.
That entry 138.35.86.0/255.255.255.0 138.35.86.151 iseems fine. Maybe they forgot that UNIX boxes are a router too. When you ping 138.35.86.0 you would in effect be pinging every IP that is on the C-class subnet 138.35.86.x.

So...please some network genius jump on here...

Like I said networking is not my strong point.

Rgrds,
Rita