LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 07-24-2006, 11:11 PM   #1
Blitzer
LQ Newbie
 
Registered: Jul 2006
Posts: 4

Rep: Reputation: 0
Networking-Notworking


Hi Linuxusrs,
I've been using linux for a while now.I had a DHCP server connected to the net.I changed my ISP (internet service provider) to one which uses a static ip adress.
I had been trying to connect to the net with no succes.
My network card configured as follows :-
ip 10.xx.xx.xx
netmask 255.xxx.xxx.x
default gateway 10.xx.xx.x
I'm using an ADSL servise to connect to the net.
I'm using Redhat linux enterprise WS4.

Am I missing something ??
is something wrong here ??

thanks
 
Old 07-24-2006, 11:26 PM   #2
cwwilson721
Senior Member
 
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Blog Entries: 1

Rep: Reputation: 67
Do you have any namservers in resolv.conf?
 
Old 07-24-2006, 11:57 PM   #3
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
Are you behind a NAT router, or connected directly to the aDSL modem? If you are using a NAT router, you configure the internet IP address and such using the router setup. Then you don't need to change your computer network configuration, you can use the routers DHCP server to configure your settings.

Your IP information looks like it's for the LAN and not a connection to the internet. I doubt that your ISP gave you a block of 16777214 IP addresses. The 10.xxx.xxx.xxx range is also a private IP address range. Is this for the NIC card to the LAN?
 
Old 07-25-2006, 01:46 AM   #4
Blitzer
LQ Newbie
 
Registered: Jul 2006
Posts: 4

Original Poster
Rep: Reputation: 0
I'm connected directly to aDSL .The ip adress is
10.xx.xx.xx
netmask
255.xxx.xxx.x
default gateway
10.xx.xx.x

those info I recieved from my ISP.
another thing which confuses me is that when I issue the (ifconfig) in su mode bash returns
bash : no such command
 
Old 07-25-2006, 02:49 AM   #5
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
Is your netmask 255.0.0.0?
Also, it looks like you are behind the ISP's NAT router. This is because 10.xxx.xxx.xxx is a private class A address. It is what larger companies often use as a private address for their networks.
FYI: There are 3 main private address ranges:

10.0.0.0 - 10.255.255.255
172.16.0.0 - 172.31.0.0
192.168.0.0 - 192.168.255.0
So you won't be able to get a domain using your IP address because it isn't routable. Other ISP users could probably reach you however. It looks like everyone at the ISP is a member of a large LAN on a 10/8 network and are going through a NAT router or proxy to access the internet. Or are you giving information on your local interface and the modems address is an IP address. In other words are you sure the modem isn't also a NAT router. I don't see how a static IP in that address space does any more good than having a dynamic DHCP address.

The ifconfig commad is in /sbin/. You could either use "su -l" instead of "su" to start a login root shell ( and so use roots PATH), or set up sudo and enter "sudo /sbin/ifconfig".

I believe that if you connect directly to a DSL modem, you need to setup PPoE.
First look and see if you have a Network interfaces dialog in Red Hat. There is also a how-to at the tldp site:
http://www.tdp.org/HOWTO/DSL-HOWTO .
quoting from this how-to:
Quote:
Important! You need to know beforehand how your ISP is setup for connecting to his network. To re−iterate,
the two main possibilities are Bridged/DHCP and PPPoE. These are mutually exclusive implementations.
Also see if you have a PPPoE client installed if that is what your ISP uses.

One thing to consider when running a Red Hat Enterprise server, is whether you are using an SELinux kernel. If so, you may need to configure SELinux to grant your PPPoE client access to it's configuration file. If you install it and configure it through a Red Hat setup dialog, this will probably be done for you. However, look in the logs and see if a client or service is unable to read it's config file.

Lastly, it might help if you provided the Company, and city providing your service. They may have further instructions on the web. Such as if the DSL modem has a web interface, or do you need to supply your username and password in the pppoe clients configuration.

Last edited by jschiwal; 07-25-2006 at 02:37 PM.
 
Old 07-25-2006, 03:47 PM   #6
Blitzer
LQ Newbie
 
Registered: Jul 2006
Posts: 4

Original Poster
Rep: Reputation: 0
Question

Thanks jschiwal and thanks everybody for your time and your help.After ifconfig which result the following :-
[root@localhost /]# sudo /sbin/ifconfig
eth0 Link encap:Ethernet HWaddr 00:11:2F:CA:80:21
inet addr:10.10.13.44 Bcast:10.10.13.255 Mask:255.255.255.0
inet6 addr: fe80::211:2fff:feca:8021/64 Scope:Link
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:9 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:546 (546.0 b)
Interrupt:5 Base address:0x2000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:2285 errors:0 dropped:0 overruns:0 frame:0
TX packets:2285 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2579154 (2.4 MiB) TX bytes:2579154 (2.4 MiB)

And after pinging the local ip , the ip adress and the default gateway which result
[root@localhost Blitzer]# ping 127.0.0.1
PING 127.0.0.1 (127.0.0.1) 56(84) bytes of data.
64 bytes from 127.0.0.1: icmp_seq=0 ttl=64 time=0.068 ms
64 bytes from 127.0.0.1: icmp_seq=1 ttl=64 time=0.071 ms

--- 127.0.0.1 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 999ms
rtt min/avg/max/mdev = 0.068/0.069/0.071/0.008 ms, pipe 2
[root@localhost Blitzer]# ping 10.10.13.44
PING 10.10.13.44 (10.10.13.44) 56(84) bytes of data.
64 bytes from 10.10.13.44: icmp_seq=0 ttl=64 time=0.090 ms
64 bytes from 10.10.13.44: icmp_seq=1 ttl=64 time=0.069 ms

--- 10.10.13.44 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 999ms
rtt min/avg/max/mdev = 0.069/0.079/0.090/0.013 ms, pipe 2
[root@localhost Blitzer]# ping 10.10.13.1
PING 10.10.13.1 (10.10.13.1) 56(84) bytes of data.
64 bytes from 10.10.13.1: icmp_seq=0 ttl=255 time=70.1 ms
64 bytes from 10.10.13.1: icmp_seq=1 ttl=255 time=36.7 ms

--- 10.10.13.1 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1000ms
rtt min/avg/max/mdev = 36.758/53.465/70.172/16.707 ms, pipe 2

I think the problem is the nameserver as jschiwal mentiond above .
Because when I issue the dig command as follows

[root@localhost Blitzer]# dig xxx.xxxxxx.xxx

; <<>> DiG 9.2.4 <<>> xxx.xxxxxx.xxx
;; global options: printcmd
;; connection timed out; no servers could be reached

Any ideas which nameserver I should put in resolv.conf ?
Cause I don't have any idea what the nameserver is ?
my best regards .
 
Old 07-26-2006, 05:48 AM   #7
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
Nameserver is synonymous with DNS server. If you don't use dhcp to get the ip address, gateway, etc., then you need to get these addresses from your ISP. There will probably be 2 or 3 of them.
 
Old 07-27-2006, 05:17 AM   #8
Blitzer
LQ Newbie
 
Registered: Jul 2006
Posts: 4

Original Poster
Rep: Reputation: 0
Got the nameserver from my IPS and I'm connected to the internet now.

Thanks jischiwal.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ATI 8.24 notworking with xinerama greendusk Linux - Hardware 0 05-20-2006 03:48 AM
Modem Networking Notworking Nutworking Mark_in_Hollywood Linux - Newbie 4 03-05-2006 05:15 PM
Mouse scroll notworking kumarnarain Linux - Hardware 2 10-01-2005 10:03 PM
vga=773, splash=notworking mimithebrain Linux - General 5 07-09-2004 08:28 PM
FTP and Telnet is notworking Harish_f Linux - General 1 05-05-2002 11:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:23 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration