LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 06-14-2004, 08:39 PM   #1
schavali
LQ Newbie
 
Registered: Jun 2004
Posts: 2

Rep: Reputation: 0
Help with network configuration


I am trying to connect to internet via cable-modem. I was able to connect to the net before I upgraded my OS from RH 8.2 to 9.0. The device is recognised and starts fine when I start Linux. I did the following:
ping -c 5 192.168.0.189
--- 192.168.0.189 ping statistics ---
5 packets transmitted, 0 received, 100% packet loss, time 4010ms


My network setup seems to be fine. I use DHCP for ipaddress and DNS.
ifconfig returns the following:
eth0 Link encap:192.168.XXX.XXX Bcast:192.168.XXX.XXX Mask:255.255.255.0
UP BROADCAST NOTRAILERS RUNNING MTU:1500 Metric:1
RX packets:576 errors:0 dropped:0 overruns:0 frame:0
TX packets:3435 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:88684 (86.6 Kb) TX bytes:374292 (365.5Kb)
Interrup:9 Base address:0xd400

Thanks

Last edited by schavali; 06-15-2004 at 05:50 AM.
 
Old 06-14-2004, 10:13 PM   #2
bruno buys
Senior Member
 
Registered: Sep 2003
Location: Rio
Distribution: Debian
Posts: 1,513

Rep: Reputation: 46
*************
I am trying to connect to internet via cable-modem. I was able to connect to the net before I upgraded my OS from RH 8.2 to 9.0. The device is recognised and starts fine when I start Linux. I did the following:
ping -c 5 192.168.0.189
--- 192.168.0.189 ping statistics ---
5 packets transmitted, 0 received, 100% packet loss, time 4010ms
*************

The ping command is just a test, it won't help you fixing, just testing. In this case, it told you that there were 100% loss, which is the same as no connection at all.


************
My network setup seems to be fine. I use DHCP for ipaddress and DNS.
ifconfig returns the following:
eth0 Link encap:192.168.1.102 Bcast:192.168.1.225 Mask:255.255.255.0
UP BROADCAST NOTRAILERS RUNNING MTU:1500 Metric:1
RX packets:576 errors:0 dropped:0 overruns:0 frame:0
TX packets:3435 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:88684 (86.6 Kb) TX bytes:374292 (365.5Kb)
Interrup:9 Base address:0xd400
*****************

This info is quite intriguing. It seems that your setup is made with internal IP's (begining with 192.168.x.x). There's nothing wrong with that, but its the first time I see such a setup in a cable modem connection. My connection is cable and we receive regular IP's (not 192.168.x.x). It is as your connection is one large internal network managed by the cable provider.

Perhaps you want to try the commands (as root):

ifdown eth0
and
ifup eth0

The first will bring the interface down, and the second will bring it up, forcing the dhcp client to run again and try to get IP.
 
Old 06-15-2004, 02:17 AM   #3
unforgivn
Member
 
Registered: Jul 2003
Location: south africa
Distribution: RH 9 hopefully fedora core 2 soon :P
Posts: 34

Rep: Reputation: 15
ping -c 5 192.168.0.189
--- 192.168.0.189 ping statistics ---
5 packets transmitted, 0 received, 100% packet loss, time 4010ms
is your cable routers adress 192.168.0.189 ?
you need to know that obviously 100% loss means that not one ping was sucessful.

eth0's adress is : 192.168.1.102
with a subnet mask of 255.255.255.0 witch means both of them are on different networks!
if you could change the adress of your eth0 to 192.168.0.xxx xxx being an unused adress then I should think that your problem should be solved... if you added 192.168.0.189 as your default gateway :P Use neat or setup to edit your network settings (I know that works on basicly all red-hat flavours) otherwise just use ifconfig, use 255.255.255.0 as your subnet mask.


ok.. your broadcast adress is 192.168.1.225, your subnet mask needs to be changed to 255.255.255.0 so that everything just works for the moment if you want to segment your network, just get it up and owrking first.

Last edited by unforgivn; 06-15-2004 at 02:41 AM.
 
Old 06-15-2004, 05:59 AM   #4
schavali
LQ Newbie
 
Registered: Jun 2004
Posts: 2

Original Poster
Rep: Reputation: 0

Last edited by schavali; 06-15-2004 at 12:35 PM.
 
  


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
Slackware 10 network configuration. Problem with 8139 network card drivers ! Padmakiran Linux - Networking 8 03-27-2007 06:48 AM
Network Configuration Hanging in FC4 After Using Wireless Network Wizard Trip in VA Linux - Wireless Networking 2 07-18-2005 08:32 AM
network configuration ilectrcbob Fedora 2 03-11-2005 01:43 AM
9.2 + Network configuration kmashraf Mandriva 1 11-22-2004 03:40 AM
about configuration over the whole network Rex_chaos Linux - Networking 1 01-06-2004 06:49 AM

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

All times are GMT -5. The time now is 05:29 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