Re: Problems with SMIT and NIC Still Problems



You have to use a chdev to rid your system of that route; try this..

1. /home/root # lsattr -El inet0|grep route
* route net,-hopcount,0,,0,10.128.1.1 Route True
* route net,-hopcount,0,,0,10.131.86.250 Route True
2. Take this statement
* chdev -l inet0 -a delroute=
3. Create this statement
* chdev -l inet0 -a delroute=net,-hopcount,0,,0,10.128.1.1


-----Original Message-----
From: IBM AIX Discussion List [mailto:aix-l@xxxxxxxxxxxxx] On Behalf Of Franco Chiellino
Sent: Tuesday, January 02, 2007 7:24 AM
To: aix-l@xxxxxxxxxxxxx
Subject: AW: Problems with SMIT and NIC Still Problems

Hi,
check with "lsattr -El inet0" what your default route in the ODM is. If the
ODM has the correct setting then some script might change the default route
during system startup.

Cheers Franco

-----Ursprüngliche Nachricht-----
Von: IBM AIX Discussion List [mailto:aix-l@xxxxxxxxxxxxx]Im Auftrag von
David Zarnoch
Gesendet: Dienstag, 2. Januar 2007 15:47
An: aix-l@xxxxxxxxxxxxx
Betreff: Re: Problems with SMIT and NIC Still Problems


HI!

Thanks!

Unfortunately, after reboot, the old default route returns....



Dave Zarnoch
davezarn@xxxxxxxxxxx





From: Hans-Dieter Kutz <hdkutz@xxxxxxxxx>
Reply-To: IBM AIX Discussion List <aix-l@xxxxxxxxxxxxx>
To: aix-l@xxxxxxxxxxxxx
Subject: Re: Problems with SMIT and NIC
Date: Tue, 2 Jan 2007 14:49:54 +0100
MIME-Version: 1.0
Received: from Princeton.EDU ([128.112.131.199]) by
bay0-mc1-f7.bay0.hotmail.com with Microsoft
SMTPSVC(6.0.3790.2444); Tue, 2
Jan 2007 05:58:29 -0800
Received: from smtpserver1.Princeton.EDU (smtpserver1.Princeton.EDU
[128.112.129.65])by Princeton.EDU (8.13.8/8.13.8) with ESMTP id
l02DoPYr017142;Tue, 2 Jan 2007 08:50:30 -0500 (EST)
Received: from lists.Princeton.EDU (listsv440.Princeton.EDU
[128.112.131.10])by smtpserver1.Princeton.EDU (8.12.9/8.12.9)
with ESMTP id
l0167G05008706;Tue, 2 Jan 2007 08:50:15 -0500 (EST)
Received: by LISTS.PRINCETON.EDU (LISTSERV-TCP/IP release 14.5)
with spool
id 14424051 for aix-l@xxxxxxxxxxxxxxxxxxx; Tue, 2 Jan 2007
08:50:15 -0500
Received: from Princeton.EDU (postoffice03.Princeton.EDU
[128.112.131.174])
by lists.Princeton.EDU (8.13.1/8.13.1) with ESMTP id
l02DoDYg000631 for <aix-l@xxxxxxxxxxxxxxxxxxx>; Tue, 2 Jan 2007
08:50:13 -0500 (EST)
Received: from Princeton.EDU (postoffice03.Princeton.EDU
[128.112.131.174])
by Princeton.EDU (8.13.8/8.13.8) with ESMTP id
l02DoD6j000292 for
<aix-l@xxxxxxxxxxxxxxxxxxx>; Tue, 2 Jan 2007 08:50:13
-0500 (EST)
Received: from emfw1.Princeton.EDU (emfw1.Princeton.EDU
[128.112.129.103])
by Princeton.EDU (8.13.8/8.13.8) with ESMTP id
l02Do6Ul000144 for
<aix-l@xxxxxxxxxxxxx>; Tue, 2 Jan 2007 08:50:10 -0500 (EST)
Received: from mailkbw3.pago-ets.de (mailkbw3.pago-ets.de
[213.168.70.77])
by emfw1.Princeton.EDU (Spam Firewall) with ESMTP id
B2DCA4B4750
for <aix-l@xxxxxxxxxxxxx>; Tue, 2 Jan 2007 08:50:05 -0500 (EST)
Received: from localhost (localhost [127.0.0.1]) by
mailkbw3.pago-ets.de
(Postfix) with ESMTP id 7F687A3F1 for
<aix-l@xxxxxxxxxxxxx>; Tue, 2
Jan 2007 14:50:00 +0100 (CET)
Received: from mailkbw3.pago-ets.de ([127.0.0.1]) by localhost
(mailkbw3
[127.0.0.1]) (amavisd-new, port 10024) with ESMTP id
18726-08 for
<aix-l@xxxxxxxxxxxxx>; Tue, 2 Jan 2007 14:49:57 +0100 (CET)
Received: from nimdenbus.devel.pago.de (nimdenbus.devel.pago.de
[172.26.160.68]) by mailkbw3.pago-ets.de (Postfix) with ESMTP id

31CEAA3DA for <aix-l@xxxxxxxxxxxxx>; Tue, 2 Jan 2007 14:49:56
+0100
(CET)
Received: from localhost (localhost.localdomain [127.0.0.1]) by
nimdenbus.devel.pago.de (Postfix) with ESMTP id 03D3D6F84CD for
<aix-l@xxxxxxxxxxxxx>; Tue, 2 Jan 2007 14:49:56 +0100 (CET)
Received: from nimdenbus.devel.pago.de ([127.0.0.1]) by
localhost
(nimdenbus.devel.pago.de [127.0.0.1]) (amavisd-new, port 10024)
with ESMTP id c9VAzFSM7tF2 for <aix-l@xxxxxxxxxxxxx>;
Tue, 2 Jan
2007 14:49:54 +0100 (CET)
Received: by nimdenbus.devel.pago.de (Postfix, from
userid 500) id
9FDAD41092D; Tue, 2 Jan 2007 14:49:54 +0100 (CET)
X-Message-Info: txF49lGdW43Z7pp+U81g3KJvOPsjOrkqNXAyoHCH278=
X-ASG-Debug-ID: 1167745805-5692000c0000-b5t46D
X-Barracuda-URL: http://128.112.129.103:8000/cgi-bin/mark.cgi
X-Barracuda-Connect: mailkbw3.pago-ets.de[213.168.70.77]
X-Barracuda-Start-Time: 1167745805
X-Virus-Scanned: amavisd-new at pago.de
X-ASG-Orig-Subj: Re: Problems with SMIT and NIC
References: <BAY103-F2048E6C36D464E8D54CAA1DEBA0@xxxxxxx>
User-Agent: Mutt/1.4.2.1i
X-Virus-Scanned: by amavisd-new at pago.de
X-Barracuda-Virus-Scanned: by Barracuda Spam Firewall at Princeton.EDU
X-Proofpoint-Spam-Details: rule=quarantine_notspam policy=quarantine
score=0 mlx=0 adultscore=0 adjust=0
reason=mlx
engine=3.0.0-0612050001 definitions=main-0701020004
X-Spam-KB: http://www.Princeton.EDU/spam
Newsgroups: bit.listserv.aix-l
Organization: Pago eTransaction Services GmbH
X-To: IBM AIX Discussion List <aix-l@xxxxxxxxxxxxx>
Precedence: list
List-Help: <https://lists.princeton.edu/cgi-bin/wa?LIST=aix-l>,

<mailto:LISTSERV@xxxxxxxxxxxxxxxxxxx?body=INFO aix-l>
List-Unsubscribe: <mailto:aix-l-unsubscribe-request@xxxxxxxxxxxxxxxxxxx>
List-Subscribe: <mailto:aix-l-subscribe-request@xxxxxxxxxxxxxxxxxxx>
List-Owner: <mailto:aix-l-request@xxxxxxxxxxxxxxxxxxx>
List-Archive: <https://lists.princeton.edu/cgi-bin/wa?LIST=aix-l>
Return-Path: owner-aix-l@xxxxxxxxxxxxx
X-OriginalArrivalTime: 02 Jan 2007 13:58:30.0062 (UTC)
FILETIME=[153BFCE0:01C72E76]

On Tue, Jan 02, 2007 at 01:26:17PM +0000, David Zarnoch wrote:
Folks,

I have a problem with smitty saving values to my NIC card.

I had an incorrect default gateway so I reset it through smitty and
rebooted

It went back to the old setting

I even tried to set it in rc.net, but with the same problem.

Here's some additional info:

AIX 5.3.4
System Model: IBM,9110-51A
Processor Type: PowerPC_POWER5
Number Of Processors: 2
Processor Clock Speed: 1898 MHz
CPU Type: 64-bit
Kernel Type: 64-bit
LPAR Info: 1 06-1E2CD
Memory Size: 3920 MB
Good Memory Size: 3920 MB
Platform Firmware level: Not Available
Firmware Version: IBM,SF240_219
Hello David,
here's my changing default route:
- first - login console
If your default route disappears, youre network connection might
disappeared too

- save your old routes with
lsattr -El inet0 | grep route | awk '{ print $2 }' > /tmp/routes

- delete routes with
/etc/route -n -f; odmdelete -o CuAt -q "name=inet0 and
attribute=route";savebase

- create new default route with
/usr/sbin/chdev -l inet0 -a
route=net,-hopcount,1,-netmask,255.255.255.0,0,192.168.0.1
This is a default route 0.0.0.0 with 255.255.255.0 mask and 192.168.0.1
gateway.

Use /tmp/routes to rebuild your extra routes.

Have fun!

ku

--
Using the Force, Yoda effortlessly frees the X-Wing from the bog.
Luke Skywalker:
I don't believe it.
Yoda:
That is why you fail.

_________________________________________________________________
Fixing up the home? Live Search can help
http://imagine-windowslive.com/search/kits/default.aspx?kit=improv
e&locale=en-US&source=hmemailtaglinenov06&FORM=WLMTAG



Relevant Pages

  • Re: Gateway not changing
    ... Once you have flushed the route, add a default route via smit and not the ... Subject: Gateway not changing ... If you wish to confirm the origin or content of this communication, ...
    (AIX-L)
  • Re: Gateway not changing
    ... route using smit and then added a fresh one. ... Subject: Gateway not changing ... Once you have flushed the route, add a default route via smit and not the ... If you wish to confirm the origin or content of this communication, ...
    (AIX-L)
  • Re: Problems with SMIT and NIC Still Problems
    ... Use smit always to write "it" to the odm. ... Smit mktcpip, config it and restart tcpip by hitting enter. ... Master Information Specialist II, UNIX Services ... You have to use a chdev to rid your system of that route; ...
    (AIX-L)
  • Re: Phantom default gateway
    ... Default GW entries are stored in device inet0. ... Customized routes (e.g. via smit) are stored in en0/en1 ... ... The second IP was a unique private range and had the default gateway ... I "route delete default " to delete it and have tried to ...
    (comp.unix.aix)
  • Re: Problems with SMIT and NIC Still Problems
    ... But....Now when I reboot, the values in SMIT are OK but the "ifconfig" ... When I reset everything on the command line, ... Problems with SMIT and NIC Still Problems ... You have to use a chdev to rid your system of that route; ...
    (AIX-L)