Operating System - HP-UX
1748214 Members
3181 Online
108759 Solutions
New Discussion юеВ

Re: Default Gatway problem

 
SOLVED
Go to solution
Fadia Almarei
Super Advisor

Default Gatway problem

Dear All

i have a problem in my gatway configuration, i try to add it to my netconf file it does not work , i try to use set_parms command does not work and even i try to use route command and it does not work , also using sam i get sam problem .

attached is my netcinf file .
kindly your urgunt help
fadia.marei
11 REPLIES 11
Fadia Almarei
Super Advisor

Re: Default Gatway problem

and i get the following error when i use sam
UNEXPECTED EXIT: process LANG=C LC_ALL=C /usr/sam/lbin/samx -C -n -p ├в
9460 -s route /usr/sam/lib//route.ui exited with a non-zero exit ├в
status. - ├в
N ├в
sh: 9627 Memory fault(coredump) ├в





and the following from netstat -rn
# netstat -rn
Routing tables
Destination Gateway Flags Refs Interface Pmtu
127.0.0.1 127.0.0.1 UH 0 lo0 4136
172.16.2.101 172.16.2.101 UH 0 lan0 4136
172.16.0.0 172.16.2.101 U 2 lan0 1500
127.0.0.0 127.0.0.1 U 0 lo0 0
#
fadia.marei
Steve Faidley
Valued Contributor

Re: Default Gatway problem

Did you restart your networking to get it to read the netconf file>?

Caution, put all on one line!!!
/sbin.init.d/inetd stop;/sbin/init.d/inetd start

How did you try to add your route on the fly?
route add default 172.16.0.1 1

If it ain't broke, let me have a look at it.
Fadia Almarei
Super Advisor

Re: Default Gatway problem

i restart the server , and yes i use the route command with options you just sent
fadia.marei
Fadia Almarei
Super Advisor

Re: Default Gatway problem

Dear All

i recongnize thing that after i restrat the server i see that the promets"" on the router and ip address configuration in the netconf file removed , kindly your urgant advice
fadia.marei
Jim Keeble
Trusted Contributor
Solution

Re: Default Gatway problem

Hello Fadia,

I don't see a problem with your netconf file, and if the route command fails standalone, you don't have a netconf problem.

If route is dumping core, it sounds as if you have a problem with the route program, a library, or the kernel. Have you installed patches or made other changes that could have gone wrong?

You might get a clue from swverify to check the integrity of the executables, or by running tusc to see exactly which system call causes the core dump.

Fadia Almarei
Super Advisor

Re: Default Gatway problem

yes i do install patches
fadia.marei
Jeeshan
Honored Contributor

Re: Default Gatway problem

why are u using 172.16.0.1 gateway instead of your 172.16.2.x ?

Don't you have any 172.16.2.x series any gateway address?
a warrior never quits
Fadia Almarei
Super Advisor

Re: Default Gatway problem

yes we do not
fadia.marei
Fadia Almarei
Super Advisor

Re: Default Gatway problem

this is what i get from the swverify
ERROR: File "/usr/sbin/route" should have mtime "1093571182" but the
actual mtime is "1205783798".
ERROR: File "/usr/sbin/route" should have size "63956" bytes but the
actual size is "0" bytes.
ERROR: Fileset "Networking.NET2-RUN,l=/,r=B.11.23" had file errors.
ERROR: File "/usr/sbin/route" should have mtime "1093571182" but the
actual mtime is "1205783798".
ERROR: File "/usr/sbin/route" should have size "63956" bytes but the
actual size is "0" bytes.
ERROR: Fileset "PHKL_31500.NET2-RUN,l=/,r=1.0" had file errors.
ERROR: File
"/opt/hp-gcc-4.1.2/lib/gcc/ia64-hp-hpux11.23/4.1.2/include/.unsupp"
missing.
ERROR: File
"/opt/hp-gcc-4.1.2/lib/gcc/ia64-hp-hpux11.23/4.1.2/include/README"


so what should i do ?
fadia.marei