vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Hi, I'm trying to access the Net from an Enterprise Server H50 running AIX 5.3 but can't get beyond the router. I have resolv.conf and defaultrouter set like the other machines which are able to go beyond the router. I figured out that Linux/Solaris nsswitch.conf is netsvc.conf on AIX. From examples I determined that I should set "hosts = local , bind" but it doesn't work. Also, I found that bind is in /usr/ccs/bin, which isn't in the PATH. But when I add this directory to the PATH, it still doesn't work. Help or advise is appreciated. Huub |
| |||
| Huub wrote: > Hi, > > I'm trying to access the Net from an Enterprise Server H50 running AIX > 5.3 but can't get beyond the router. I have resolv.conf and > defaultrouter set like the other machines which are able to go beyond > the router. I figured out that Linux/Solaris nsswitch.conf is > netsvc.conf on AIX. From examples I determined that I should set "hosts > = local , bind" but it doesn't work. Also, I found that bind is in > /usr/ccs/bin, which isn't in the PATH. But when I add this directory to > the PATH, it still doesn't work. > Help or advise is appreciated. > > Huub Do you have the problem when you ping to an IP address or just when you ping using a name. |
| |||
| On 19 Jun, 13:34, Huub <"v.niekerk at hccnet.nl"> wrote: > Hi, > > I'm trying to access the Net from an Enterprise Server H50 running AIX > 5.3 but can't get beyond the router. I have resolv.conf and > defaultrouter set like the other machines which are able to go beyond > the router. I figured out that Linux/Solaris nsswitch.conf is > netsvc.conf on AIX. From examples I determined that I should set "hosts > = local , bind" but it doesn't work. Also, I found that bind is in > /usr/ccs/bin, which isn't in the PATH. But when I add this directory to > the PATH, it still doesn't work. > Help or advise is appreciated. > > Huub Hi Huub, It sounds like something networking wise isn't set right. The netsvc file has nothing to do with routing. More to do with the order the system uses DNS, /etc/hosts, ldap , nis etc etc. I would recommend using smit or smitty or even wsm to double check everything like IP address, subnet mask. Once your sure that the IP and subnet mask is correct make sure that you have the correct default route configured. Use 'netstat -rn' to see what the routing table looks like. See mine : # netstat -rn Routing tables Destination Gateway Flags Refs Use If Exp Groups Route Tree for Protocol Family 2 (Internet): default 192.168.20.1 UG 2 7300262 en0 - - 127/8 127.0.0.1 U 15 21936 lo0 - - 192.168.20.0 192.168.20.32 UHSb 0 0 en0 - - => 192.168.20/24 192.168.20.32 U 16 27460640 en0 - - 192.168.20.32 127.0.0.1 UGHS 15 501 lo0 - - 192.168.20.255 192.168.20.32 UHSb 0 10 en0 - - Route Tree for Protocol Family 24 (Internet v6): ::1 ::1 UH 0 80 lo0 - - My box IP 192.168.20.32 has a default route to 192.168.20.1 To add a route use the route command. I guess you'll use something like route add default ROUTERIP P |
| |||
| > > Do you have the problem when you ping to an IP address > or just when you ping using a name. This is odd: > $ ping nu.nl > PING nu.nl: (62.69.179.230): 56 data bytes > 0821-069 ping: sendto: Cannot reach the destination network. > ping: wrote nu.nl 64 chars, ret=-1 It seems to get the IP address, so somehow it does go beyond the router. |
| |||
| > > To add a route use the route command. I guess you'll use something > like route add default ROUTERIP > > P > Thank you. That did the trick. Odd though, since I already had created /etc/defaultrouter containing the ROUTERIP. |
| |||
| Huub wrote: >> >> To add a route use the route command. I guess you'll use something >> like route add default ROUTERIP >> >> P >> > > Thank you. That did the trick. Odd though, since I already had created > /etc/defaultrouter containing the ROUTERIP. Unlike Solaris, AIX does not use the /etc/defaultrouter file. You have to add the default route when configuring the interface. You can use "smit(ty) chinet" or "smit(ty) tcpip". |
| Thread Tools | |
| Display Modes | |
|
|