HPE 9000 and HPE e3000 Servers
cancel
Showing results for 
Search instead for 
Did you mean: 

Configuring to default gateway B2600 9000 series

 
Lokesh_3
Occasional Advisor

Configuring to default gateway B2600 9000 series

Hi all,

I want to change the gateway setting, on this hp workstation.

I made the changes in /etc/rc.config.d/netconf
with assigning IP address of gateway router to ROUTE_GATEWAY[0]=. I have even rebooted the system after making changes to netconf file.

But unable to ping sucessfully the gateway router IP from the workstation.

Your input is appreciated...


-Lokesh
14 REPLIES 14
Robert-Jan Goossens_1
Honored Contributor

Re: Configuring to default gateway B2600 9000 series

Hi Lokesh,

Did you add double quotes to your ip-address?

ROUTE_GATEWAY[0]="XX.XX.XX.XX"

if not, add the and restart your network.

# /sbin/init.d/net stop
# /sbin/init.d/net start

Regards,
Robert-Jan
Bill Hassell
Honored Contributor

Re: Configuring to default gateway B2600 9000 series

Make sure that your gateway router allows ping responses. Overly zealous network admins often turn off ping response for security, but turning it off for the local networks is not very smart. Check that the router actually responds to any ping from the same subnet.


Bill Hassell, sysadmin
Lokesh_3
Occasional Advisor

Re: Configuring to default gateway B2600 9000 series

Hi All,

The IP address is double-quoted and i could ping the gateway router from a windows desktop.

Regards,

Lokesh

Robert-Jan Goossens_1
Honored Contributor

Re: Configuring to default gateway B2600 9000 series

Lokesh,

Could you check if you have backup netconf files in the /etc/rc.config.d/ directory (.org or .old or whatever).

regards,
Robert-Jan
Dave Unverhau_1
Honored Contributor

Re: Configuring to default gateway B2600 9000 series

Lokesh,

You might want to try using /etc/set_parms to set the default route.

# set_parms addl_netwrk

will prompt you for subnet mask, default route and NIS info. If this is run after the initial system setup has been done, a reboot will be required to make the changes take effect.

Best Regards,

Dave
Romans 8:28
rick jones
Honored Contributor

Re: Configuring to default gateway B2600 9000 series

Are there any start-up errors being logged/reported?

Are you certain that the IP address and netmask being assigned to your NIC (via netconf) are such that the system believes the router's IP to be in the same subnet?

Given that security through obscurity is generally bunk, it would help if you could give us the details on the IP addresses and netmasks involved.
there is no rest for the wicked yet the virtuous have no pillows
Lokesh_3
Occasional Advisor

Re: Configuring to default gateway B2600 9000 series

Hi All,

Here is the configuration information present in /etc/rc.config.d/netconf

INTERFACE_NAME[0]="lan0"
IP_ADDRESS[0]="149.59.143.21"
SUBNET_MASK[0]="0xffffff00"
BROADCAST_ADDRESS[0]="149.59.143.255"
ROUTE_DESTINATION[0]="default"
ROUTE_MASK[0]=""
ROUTE_GATEWAY[0]="149.59.143.1"
ROUTE_COUNT[0]="1"
ROUTE_ARGS[0]=""

i tried setting the route gateway, through the
#set_parms addl_netwrk

but it complained about its unable to reach router gateway IP.

I looked into /var/adm/syslog/syslog.log file for any possible errors on network configuration, i didn't come across any errors.

Thanks,

-Lokesh
John Jimenez
Super Advisor

Re: Configuring to default gateway B2600 9000 series

Interesting subnet mask.
Hustle Makes things happen
rick jones
Honored Contributor

Re: Configuring to default gateway B2600 9000 series

Just to be paranoid - how about if you give it the subnetmask in dotted-decimal notation - so in your case I think that would be 255.255.255.0?
there is no rest for the wicked yet the virtuous have no pillows