Regarding connecting to internet from RHEL 5 server

 
Thread Tools Search this Thread
Operating Systems Linux Red Hat Regarding connecting to internet from RHEL 5 server
# 1  
Old 10-07-2013
Regarding connecting to internet from RHEL 5 server

Dear All,

I have a RHEL 5 server of 64 bit . I have disabled the firewalls and added the name server also in resolv.conf.

I want to connect to internet inorder to link the machine with Linux Network.

# I could not connect to any website from this server for ex

ping google.com is not working .

So I need to configure internet in this server...Pl give me some ideas on this.....
# 2  
Old 10-07-2013
Not sure the file name in /etc,
But you need to edit a file similar
To name defaultrouter, with one line
For IP of router.

In another file you need to edit the
Box IP Address.

They are all in /etc.
# 3  
Old 10-07-2013
Dear Richard,

Can u pl explain in detail...

Thanks
# 4  
Old 10-07-2013
Try using the system-config-network tool.

See https://access.redhat.com/site/docum...rk-config.html
# 5  
Old 10-09-2013
Dear Murphy,

Is there any way to add http_proxy address in my export variable and then try for connecting it to internet and access google etc.

Apart from adding the proxy address profile , are there any additional steps that needs to be taken in accessing the internet.

I searched the docs mentioned by you..but could not get a clear picture...
# 6  
Old 10-09-2013
The default firewall rules won't block access to websites.

You haven't shown us your configuration, so how can we know what's wrong?

Post the contents of:
  • /etc/sysconfig/network-scripts/ifcfg-eth0 (assuming eth0 is the correct interface)
  • ifconfig eth0 (again assuming eth0 is the correct interface)
  • /etc/resolv.conf
  • /etc/sysconfig/network
Also, are you running "RHEL" on a physical server or in a VM?
# 7  
Old 10-09-2013
Dear Scott,

Pl find the below details.....

Code:
1.cat /etc/resolv.conf
search localdomain
nameserver      xxx.30.3.1
2.cat /etc/sysconfig/network-scripts/ifcfg-eth0
# Intel Corporation 82576 Gigabit Network Connection
DEVICE=eth0
BOOTPROTO=none
BROADCAST=xxx.30.7.191
HWADDR=00:21:28:E7:93:32
IPADDR=xxx.30.7.163
NETMASK=255.255.255.192
NETWORK=xxx.30.7.128
ONBOOT=yes
GATEWAY=xxx.30.7.190
TYPE=Ethernet
USERCTL=no
IPV6INIT=no
PEERDNS=yes
 
3.cat network
NETWORKING=yes
NETWORKING_IPV6=no
HOSTNAME=sun2

I am running RHEL on a physical server .

Thanks and Regards
Rj

Moderator's Comments:
Mod Comment Please use code tags
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. SCO

Connecting to the internet

Hi, I have a router, 192.168.1.1, and an internet router, 10.0.0.138. I have connected the server to the 1st router and assigned it a IP address of 192.168.1.1. I can ping both routers successfully but I have no access to internet. Any suggestions? sco5.0.7 (11 Replies)
Discussion started by: juan.navarrete
11 Replies

2. UNIX for Dummies Questions & Answers

Problems connecting to the Internet

I am trying to connect a Solaris 10 PC to the internet via a Linksys router and a cable modem. I have tried following suggestions in one of the posts here for manual setup but so far no luck. Does the Solaris 10 install for x86 automatically pick up the internet connection? Dave :>) (4 Replies)
Discussion started by: dohling
4 Replies

3. Solaris

connecting to internet from solaris 10

hi there, hope your chakras are all doing well :-) just installed solaris 10 on my laptop, all seems fine except the internet. How can i connect on a DSL line?. spent 7 days and 3 nights trying but couldnt find the starting point.... alikun (22 Replies)
Discussion started by: alikun
22 Replies

4. IP Networking

can i force connecting to local web server via internet network ?

Hello all this is general question , if i have web server installed in my local pc and i have client that connecting to that web server can i force it always to go via the internet network ? the reason im asking is .. that im noticed when i close my internet connection i still can connect to my... (2 Replies)
Discussion started by: umen
2 Replies

5. UNIX for Dummies Questions & Answers

Connecting to the Internet

I have just installed Linux and everything looks great, but how do I get my browser (Mozilla) to connect to my internet service provider? I have a cable connection to Bigpond in Australia, if that means anything - the ISP will not provide support for Linux. Your help would be greatly... (2 Replies)
Discussion started by: openhead
2 Replies

6. Linux

connecting to INTERNET

Hi, I can ping www.yahoo.com (then domain name server is OK) but I can not navigate by Motzila to www.yahoo.com or any other Web Site. What can be the problem ? Mozila is configured in preference /advance to go automaticaly on WEB. We are under RED HAT AS3. What should I check ? Many thanks... (1 Reply)
Discussion started by: big123456
1 Replies

7. UNIX for Dummies Questions & Answers

Need help connecting to the internet with solaris10

I am using solaris 10 with pentium 3. I have two network cards but none of them come up when i run <ifconfig -a> in command line. The two cards I have are : Linksys LNE 100TX and Netgear FA311. Does solaris 10 support these NICs or do I have to dowload the drivers for them. If so, can anyone... (1 Reply)
Discussion started by: fidjouss
1 Replies

8. UNIX for Dummies Questions & Answers

Connecting to the Internet

Hi all, Is it possible (as I only have dial-up) to utilise my existing WinXP PC as a gateway to the internet for my 2nd PC (RH 8.0)?? .So connect with XP and have RH use a network connection (I guess) through the XP box and to the internet. If so, could I please have some links thrown my... (1 Reply)
Discussion started by: Cameron
1 Replies

9. UNIX for Dummies Questions & Answers

Connecting to the Internet

Im on XP now but when im on linux how do I connect to the internet? I don't think AOL works with it but are there any free programs that I can use with it? (8 Replies)
Discussion started by: NoPepsiForYou
8 Replies

10. IP Networking

connecting to internet

I have installed Solaris 8.0 and want to find out how can I go in and change my network setup and external IP setup. At the moment system running but I can not connect to the internet. But my lan card shows that I am on the network. I also get some advice that I should check the $Socks but how do I... (1 Reply)
Discussion started by: Cdrive
1 Replies
Login or Register to Ask a Question