2 default gateways


 
Thread Tools Search this Thread
Operating Systems AIX 2 default gateways
# 8  
Old 03-19-2009
I forgot to mentionned that we have over 50 AIX servers and almost all of them are showing this behavior...

Quote:
Originally Posted by shockneck
Second thought: it would be wrong to use "minimum configuration" for more than one interface. This panel is meant to be used just once i.e. on first time configuration when setting hostname etc. For any other interface and all additional configuration the panel "further configuration" shall be used.
I didn't use it to set the gateway, just to check what it was set to.

Quote:
Originally Posted by zxmaus
Hi,
we had similar issues - and root cause was our nimserver - each time we connected to it, it put a second default route onto our box ... which can be savely removed.

Are you running etherchannel or do your nics have separate IPs?

Kind regards
zxmaus
You are saying that the NIM server set those gateways on the remote system ? Effectively all our servers were build via a NIM server but we rarely use the NIM server for other operation on the clients. And as I already said, the 2nd default gateway come back when we reboot the server.

Some of our machines do have etherchannel but its not use on the main IP address (primary default).

Thanks all for your inputs
# 9  
Old 03-19-2009
It's important that you do not use smitty mktcpip on the second adapter. Instead, use
Code:
smitty chinet

. This will set the IP on that adapter without adding an additional default gateway.

I've had this problem in the past, and I've always cleared it using
Code:
smitty rmroute

Can you post your routing table with the extra route listed?
Padow
# 10  
Old 03-20-2009
We have that kind of phenomenom sometimes too - and as zxmaus says we also think it might be something from our NIM server after an installation of an LPAR.
Though we always had entries in the ODM like shockneck noted.

If you are absolutely sure that there is no entry of that wrong additional default gateway in the ODM, you can try to write a new boot image with
Code:
bosboot -ad /dev/ipldevice
# or
savebase

and check if it is still there after a reboot.

If so, you also might want to check if there is a line in any of your scripts in /etc like rc.tcpip or rc.net that have a line for adding that default GW, just to make sure there isn't:
Code:
find /etc -type f -exec grep -lE "route add|chdev|mktcpip" {} \;

It might list some relevant looking files which might be worth to check.
# 11  
Old 03-31-2009
Like zxmaus, we had this issue too. Cat your /etc/niminfo file and look at the last line that starts with "export ROUTES=". It probably looks something like this:

[CODE]export ROUTES=" default:0:192.168.1.1 ..."[CODE]

Rename the /etc/niminfo file to /etc/niminfo.old and run "smitty nim" on your client machines and go through the setup steps again. Then look at the /etc/niminfo file and see if it looks correct after that.
Login or Register to Ask a Question

Previous Thread | Next Thread

7 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

iptables / ip route packet routing with multiple gateways

Hi all. Linux noob here. I was hoping someone could help me with configuring some routing rules on my router, an Asus AC68. The router is connected to two gateways, wan0_gateway and wan1_gateway. I have rules set up in the router gui that will push all traffic from every IP other than my own... (0 Replies)
Discussion started by: Bishi
0 Replies

2. BSD

Two gateways

I have a web server running FreeBSD 7.2, i have configured two NICs in the following way: fxp0: 200.14.xxx.254 sk0: 200.12.xxx.4 gateway: 200.14.xxx.1 both ip addresses are public but only those requests to fxp0 are successful. I have tried configuring nat and binat in sk0 but it... (4 Replies)
Discussion started by: edgarvm
4 Replies

3. Shell Programming and Scripting

configuring 2-gateways in linux

Hi, I want to configure 2-gateways in Linux . Please tell me how I can achieve this. I am accesing 2-internet connection through these 2-gateways. So I am looking that if 1-gets down then also other one is working. Regards JAGDISH (1 Reply)
Discussion started by: jagdish.machhi@
1 Replies

4. Solaris

Configuring 1 Nic card with 2 IP addresses and 2 seperate default Gateways in Solaris

Hi ...... I'm trying to configure my Solaris servers with only one NIC card to have 2 IP addresses as well as 2 different default gateways. ( NOT to be confused with multi-pathing - with 2 physical IPs & 1 virtual ip) Thanks, Remi (1 Reply)
Discussion started by: Remi
1 Replies

5. AIX

setup of 2 gateways on AIX

Please, anybody help on resolving the following problem? I have 2 netwotks ( 10.0.0.0 and 10.0.11.0 ) on 2 different areas I need both networks to telnet the corresponding ethernet card. This is a prblem because AIX is configured with a default gateway. Please advice how to assign 2... (2 Replies)
Discussion started by: mynikolas
2 Replies

6. IP Networking

2 gateways on the same unix box

Hello there: I have these situation : I have a unix sco openserver 5.0.7 box and a windows server 2003. There is a main office and 2 remote office that log in trough a vpn tunnel. One tunnel From Main to remote1 and the other from Main to remote 2. Problem! The dsl connection i have is... (2 Replies)
Discussion started by: josramon
2 Replies

7. UNIX for Dummies Questions & Answers

gateways

I cannot change my gateway. I have five locations (simulated) and i try to ping another of my locations but it says host unreachable and it is showing the gateway as the host i'm pinging withs ip address. I have tried the route command but I couldn't get it to work. Any suggestions on how to... (2 Replies)
Discussion started by: Deuce
2 Replies
Login or Register to Ask a Question