cannot access to internet , help


 
Thread Tools Search this Thread
Operating Systems Solaris cannot access to internet , help
# 1  
Old 12-25-2008
cannot access to internet , help

hi experts
i have a sun Enterprise 220 R server with solaris 10 and patches , i configured network card with ip addresses that have access to Internet but i can't be connected Smilie

for same informations :

root@E220R # ifconfig -a

lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
hme0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
inet 172.16.7.200 netmask ffff0000 broadcast 172.16.255.255
ether 8:0:20:c7:8a:d8


root@E220R # more /etc/defaultrouter
172.16.1.254

and the problem:

root@E220R # ping Google
ping: unknown host Google


what can i do ?
# 2  
Old 12-25-2008
check the IP of the DNS server

put those ip /etc/resolv.conf

vi /etc/resolv.conf
nameserver 202.138.96.2 (example)
nameserver 202.138.96.3

cp /etc/nsswitch.dns /etc/nsswitch.conf

svcadm enable /network/dns/server

ur done almost.




# 3  
Old 12-25-2008
Quote:
Originally Posted by vishwanathhcl
c
svcadm enable /network/dns/server
this step isn't necessary unless you want to configure a dns server!
# 4  
Old 12-25-2008
if you have a dns server on your 172.16.1.0 network, use that address in /etc/resolv.conf
Code:
echo "nameserver <dns_ip>" > /etc/resolv.conf

otherwise use your default route address.
# 5  
Old 12-31-2008
thank you every body
# 6  
Old 01-05-2009
summary: Linux or Solaris -You need to set-up your machine as a DNS client to be able to connect to the internet
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. IP Networking

Does my provider limit my internet access or somesites access?

Hi Good Day, i would like to ask for further info about my problems experiencing this evening. Im a PPP0 connection in the internet using 3G located in asia pacific region.i had this problem this evening in my INTERNET connections that there are some sites i can't open example ( Gizmodo.com,... (2 Replies)
Discussion started by: jao_madn
2 Replies

2. IP Networking

Access database over internet, help

Hi! :D I'm new here, and I will appreciate all the help you can give. This is the problem we are trying to solve at my office. At office 1 we have SCO UNIX 5.0.can't remember last number. On it runs database software on which we input/read/modify data throughout terminal software, on remote... (1 Reply)
Discussion started by: PNemesis
1 Replies

3. UNIX for Dummies Questions & Answers

Can not access internet?

Hi everybody. I've setup SunSolaris 10 on VirtualBox, but when I start Sun, I can connect to the Internet, when I open terminal and type command for list device ethernet: #ifconfig -a just only see loopback lo0 Can help me solve this problem? Thank you very much, ken (0 Replies)
Discussion started by: kenjingo
0 Replies

4. UNIX for Dummies Questions & Answers

Internet Access Control

I need to control intenet access @ work. xample. I need PC 1 to only be able to access these five sites and add to the list as needed. Can anyone pint me a direction. (1 Reply)
Discussion started by: fruiz
1 Replies

5. Solaris

Cannot access internet

Hi Friends,:b: This is venkatesh, i have Intel Dual core PC and installed Solaris 10. I have a problem that i cannot access internet in my PC i don't know either the drivers installed or not. I manually assign ip 192.168.1.7 and if i ping to this it is alive and if i ping for 192.168.1.1 for the... (4 Replies)
Discussion started by: 1409.venkatesh
4 Replies

6. UNIX for Dummies Questions & Answers

Solaris 10 internet access on VMware

Hi, I have Solaris 10 running in VMware on a winxp box so I can learn unix. I can 'ping' all the boxes on our network and yahoo.com (but only if I use the IP address I get back from pinging from an xp box). The error message from the terminal window is unknown host and from a browser www.sun.com... (2 Replies)
Discussion started by: Technomot1
2 Replies

7. SCO

internet access

My SCO box has lost connection to the internet. It sites behind a fire wall and is connected to a local network. What should I check for. (2 Replies)
Discussion started by: fruiz
2 Replies

8. UNIX for Dummies Questions & Answers

Internet access

Hi everybody, I'd like create a connection (by modem) for my unix workstation. I just have the RS232 port and my modem, no lan connection, and I want to surf the net. How can I setup it? Thanks in advance, Mauro (1 Reply)
Discussion started by: Mauro
1 Replies

9. UNIX for Dummies Questions & Answers

Internet access via gateway

Internet access via gateway env: RedHat 6.1 Hi, Until now, we used PPP via an ISDN modem to connect our server to the internet. The ISDN ip-up/down scripts in /etc/ppp add ippp0 as the default route. From that point on we can for instance get mail via fetchmail. Now we have a ADSL... (1 Reply)
Discussion started by: progressdll
1 Replies

10. UNIX for Dummies Questions & Answers

internet access

I've configured my TCP/IP to have the right protocols to access the internet such as TPC/IP, subnet mask, gateway and dns server but still Im not able to ping anything to the internet. Anybody who has some few good words for me? I need help. Thanks. (2 Replies)
Discussion started by: nseal101
2 Replies
Login or Register to Ask a Question