1831590 Members
2985 Online
110025 Solutions
New Discussion

DSL and Router

 
Mike_21
Frequent Advisor

DSL and Router

I have a linksys router connecting to my DSL provider. So all my computers behind the router are named 192.168.1.x

So what is the best way to handle DNS on the HP 11 server behind the router???

4 REPLIES 4
Mike_21
Frequent Advisor

Re: DSL and Router

It seems the deafult router will not stay when the system reboots.

netconf file

INTERFACE_NAME[0]=lan0
IP_ADDRESS[0]=192.168.1.125
SUBNET_MASK[0]=255.255.255.0
BROADCAST_ADDRESS[0]=192.168.1.255
INTERFACE_STATE[0]=up
DHCP_ENABLE[0]=0

ROUTE_DESTINATION[0]=default
ROUTE_MASK[0]=""
ROUTE_GATEWAY[0]=192.168.1.1
ROUTE_COUNT[0]="0"
ROUTE_ARGS[0]=""

GATED=0
GATED_ARGS=""

# netstat -rn
Routing tables
Destination Gateway
127.0.0.1 127.0.0.1 192.168.1.125 192.168.1.125
192.168.1.0 192.168.1.125
127.0.0.0 127.0.0.1

When I add the default with the route add default 192.168.1.1 1

Everything works until I reboot. Using 11i.
harry d brown jr
Honored Contributor

Re: DSL and Router

Mike,

Unfortunately I don't have my systems available at this moment (being at home), but have you tried to change:

ROUTE_COUNT[0]="0"

to

ROUTE_COUNT[0]="1"

live free or die
harry
Live Free or Die
Luc Bussieres
Frequent Advisor

Re: DSL and Router

Hi Mike,

have you kept a backup copy of the original /etc/rc.config.d/netconf file in the /etc/rc.config.d directory? This could be the more obvious cause of the problem you are seeing; since all the files in that directory are source before running the network configuration script and the backup copy could have been source after the newer version you have created, this will overwrite your changes.

Luc
La réponse est le malheur de la question
Amruth
Regular Advisor

Re: DSL and Router

I feel if you give

ROUTE_COUNT[0]=1 will solve the problem.......

AR
If i am doing the same way you are doing to me then what is the difference between us.