Operating System - HP-UX
1833588 Members
4171 Online
110061 Solutions
New Discussion

How configure method of netconf file?

 
SOLVED
Go to solution

How configure method of netconf file?

Hi.
I don't know edit of /etc/rc.config.d/netconf file.
My system have two LAN card.
Each LAN Card connect to each router seperately network.
I attached network picture of our system.
our system have restrictions.
Lan0 have connected router of 61.33.xx.xx and have setting default router.
Lan1 have connnected router of 192.168.xx.xx.

This is part of netconf file.

ROUTE_DESTINATION[0]=default
ROUTE_MASK[0]=""
ROUTE_GATEWAY[0]="61.33.xx.xx"
ROUTE_COUNT[0]=1
ROUTE_ARGS[0]=""

ROUTE_DESTINATION[1]="net 192.168.xx"
ROUTE_MASK[1]=""
ROUTE_GATEWAY[1]="192.168.xx.xx"
ROUTE_COUNT[1]=1
ROUTE_ARGS[1]=""

There are Problem as next.
When ping 61.33.XX.XX, network flow 192.168.XX network LAN1 card.
I check the traceroute command.
#traceroute 61.33.xx.xx
The traffic flow the lan1 (192.168.xx.xx).
originally traffic flow the lan0.

Tell me configure routing table and netconf file.
Which do you correct or false the netconf file?
If you uncorrect the netconf file, Tell me the configuration of netconf file.

Thanks..


2 REPLIES 2
Michael Tully
Honored Contributor
Solution

Re: How configure method of netconf file?

Hi,

When ever you use ping or traceroute the default is always via the default route. When using 'ping 192.168.xx.xx' will attempt to use the default. Try this way. The same with traceroute, in that you need to use options. I will have a closer look at your 'netconf' file as well

# ping -i 192.168.xx.xx
# traceroute -s 192.168.xx.xx

The man page for ping explains this.
Just typing 'traceroute' will give the
syntax. -s

Michael
Anyone for a Mutiny ?
steven Burgess_2
Honored Contributor

Re: How configure method of netconf file?

Hi

Can you post the output of netstat -rn command and the config for your 2 lan cards

Regards

Steve
take your time and think things through