LinuxQuestions.org
Visit Jeremy's Blog.
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 05-11-2009, 10:09 AM   #1
unixpgmr
LQ Newbie
 
Registered: Jun 2007
Posts: 16

Rep: Reputation: 0
Can't connect to internal network


I did a new install of Kubuntu 9.04. I use static ip addresses. In an attempt to resolve the issue with the network manger in 9.04, I removed the network manager. I am now able to set the ip addresses just fine and I get to the internet. However, for some reason, I can't get to my internal router.

Has anybody encountered this or have a suggestion on what I may try?

Thanks much.
 
Old 05-11-2009, 05:45 PM   #2
Thymox
Senior Member
 
Registered: Apr 2001
Location: Plymouth, England.
Distribution: Mostly Debian based systems
Posts: 4,368

Rep: Reputation: 64
When you say you "cant' get to your internal router"... even by pinging it? More details are required.

What is your static IP address and subnet mask?
What is your router's IP address?
What steps did you take to assign yourself a static IP?
 
Old 05-18-2009, 02:14 PM   #3
unixpgmr
LQ Newbie
 
Registered: Jun 2007
Posts: 16

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Thymox View Post
When you say you "cant' get to your internal router"... even by pinging it? More details are required.

What is your static IP address and subnet mask?
What is your router's IP address?
What steps did you take to assign yourself a static IP?
Sorry for the delay. Here is the information you requested:
My static IP is 192.168.1.21
Router's ip address i 192.168.1.1

To get a static ip address to work, I had to uninstall the knetworkmanager application because it just wouldn't allow me to set a static ip address. I then set the interface file (see below). I do have two ethernet cards in my system, but I am not using eth1 due to a driver issue and lack of cable.

/etc/network/interfaces

auto lo
iface lo inet loopback

auto eth0
iface eth0 inet static
address 192.168.1.21
gateway 192.168.1.1
netmask 255.255.255.0
broadcast 192.168.1.255

auto eth1
iface eth1 inet static
address 192.168.1.20
gateway 192.168.1.1
netmask 255.255.255.0
broadcast 192.168.1.255

Routing table
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 * 255.255.255.0 U 0 0 0 eth0
192.168.1.0 * 255.255.255.0 U 0 0 0 eth1
link-local * 255.255.0.0 U 1000 0 0 eth1
default 192.168.1.1 0.0.0.0 UG 100 0 0 eth0
default 192.168.1.1 0.0.0.0 UG 100 0 0 eth1
 
Old 05-18-2009, 02:37 PM   #4
john test
Member
 
Registered: Jul 2008
Distribution: ubuntu 9.10
Posts: 527
Blog Entries: 1

Rep: Reputation: 35
What happens if you ping 192.168.1.1?
What happens if you firefox 192.168.1.1?
 
Old 06-14-2009, 11:15 AM   #5
unixpgmr
LQ Newbie
 
Registered: Jun 2007
Posts: 16

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by john test View Post
What happens if you ping 192.168.1.1?
What happens if you firefox 192.168.1.1?
Sorry for getting back so late. I was out of town. To answer your questions:
1. When I ping 192.168.1.1 I get:
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
From 192.168.1.21 icmp_seq=1 Destination Host Unreachable
From 192.168.1.21 icmp_seq=2 Destination Host Unreachable
From 192.168.1.21 icmp_seq=3 Destination Host Unreachable
From 192.168.1.21 icmp_seq=5 Destination Host Unreachable
From 192.168.1.21 icmp_seq=6 Destination Host Unreachable
From 192.168.1.21 icmp_seq=7 Destination Host Unreachable

2. Tells me it can't establish a connection.
 
Old 06-14-2009, 11:38 AM   #6
scottro11
Member
 
Registered: Jun 2009
Location: NYC
Posts: 263

Rep: Reputation: 59
Would you please try to disable eth1 and see if that helps. (Or eth0--the thing is, the two shouldn't be on the same subnet.)

You can also try setting one of their subnets to 255.255.255.255 which may also fix it.
 
Old 06-19-2009, 11:10 PM   #7
unixpgmr
LQ Newbie
 
Registered: Jun 2007
Posts: 16

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by scottro11 View Post
Would you please try to disable eth1 and see if that helps. (Or eth0--the thing is, the two shouldn't be on the same subnet.)

You can also try setting one of their subnets to 255.255.255.255 which may also fix it.
Thanks for the info. However, I fixed the problem. I reinstalled the network manager subsystem and it worked. I am not sure if there was a bad install the first time or in the process of reinstalling, a bug fix was applied. Either way, it is working and I thank you all for our help. BTW, scottro11, I did disable one of the ethernet cards as per your advices.

Again, thank you all for your advice.
 
  


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
ssh issues - can't connect from external network, internal okay dragos19 Linux - Server 5 06-10-2008 09:13 PM
Able to connect to internal IP only dwai Linux - Networking 2 09-07-2005 01:03 PM
sendmail for internal network and network config questions RedHat123 Linux - Networking 0 04-06-2005 03:15 PM
can ping internal but cant connect to the net marty2004 Linux - Newbie 7 07-17-2004 01:07 PM
Connect internal modem to sound card JohnKFT Linux - Laptop and Netbook 1 07-15-2004 04:55 PM

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

All times are GMT -5. The time now is 09:58 AM.

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