vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| G P wrote: > Hello, > > Can someone tell me how to change the default router on an HP-UX 11.11 > machine ? I changed the name from a network to other, and I need to > set the default router ?? Just recently, I did it on a 11.0 machine, using `sam`. It was a huge tour around most of the options but I found it... `sam` -> NetworkingAndCommunicaitons -> Hosts -> LocalHostFile -> Actions -> ModifyDefaultGateway. I must admid, it took a long way to find it. I expected to find it with a routing option or with the network cards or such CBee |
| |||
| G P wrote: > Hello, > > Can someone tell me how to change the default router on an HP-UX 11.11 > machine ? I changed the name from a network to other, and I need to > set the default router ?? > > Thanks, > > Juan SAM is your friend. - Greg -- Greg Cagle gregc at gregcagle dot com |
| |||
| Greg Cagle <news@removethisgregcagle.com> wrote: > G P wrote: > SAM is your friend. Bugger that! SAM is a crutch! // If you're trying to do this remotely, make sure you put both // route commands on the same line!! # route delete default ${gw}; route add default ${gw} 1 // Update appropriate stanza of /etc/rc.config.d/netconf # vi /etc/rc.config.d/netconf ROUTE_DESTINATION[0]=default ROUTE_MASK[0]="" ROUTE_GATEWAY[0]="172.30.20.1" ROUTE_COUNT[0]="1" ROUTE_ARGS[0]="" Doug O'Leary -------- Senior UNIX Admin O'Leary Computer Enterprises dkoleary@attbi.com (w) 630-904-6098 (c) 630-248-2749 resume: http://home.attbi.com/~dkoleary/resume.html |
| ||||
| "G P" <guart@hotmail.com> schreef in bericht news:c3c6c30c.0311040758.25027f41@posting.google.c om... > Hello, > > Can someone tell me how to change the default router on an HP-UX 11.11 > machine ? I changed the name from a network to other, and I need to > set the default router ?? > > Thanks, > > Juan Juan, vi /etc/rc.config.d/netconf The default router is the gateway for route 0.0.0.0 or the route default. Kind regards, Jan Gerrit Kootstra |