Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

gateway declaration

Status
Not open for further replies.

bonsky

MIS
Apr 23, 2001
280
US
i know this is an eazy one for you guys.. how to get rid of the gateway ip declared on my ethernet card ( en0 or en1).... even if i bring down the network card, detached and erased the ip declared at gateway... still coming..?? how to do this place blank at gateway?
thanks
 


When you did the
ifconfig en0 down
ifconfig en1 down
ifconfig en0 detach
ifconfig en1 detach
rmdev -dl en0
rmdev -dl en1
rmdev -dl ent0
rmdev -dl ent1
cfgmgr

the gateway should have been gone........(especially when the rmdev -dl on the card ent0 and ent1) It is the card that holds the gateway as well as the /etc/rc.net file


How do you tell if a route is in the ODM or not (besides rebooting to see if it comes back)?
lsattr -El inet0


To establish a default gateway, enter: (but not in odm. add rc.net file.)
route add 0 192.100.13.7
route delete 0 192.100.13.7


or the chdev command should delete as well..........easiest is delete the card and redefine it in smit

Some have said that if you blank it out in the smitty minimum config and run it, it goes away...I have not had much luck with this......... worth a try I guess.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top