LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 03-01-2004, 10:41 PM   #1
Skunk_Face
Member
 
Registered: Jan 2004
Posts: 54

Rep: Reputation: 15
cannot connect to internet after switching dsl router


I have eth0 connected to an ADSL router. My previous IP was 219.93.***.***
However my ISP provider has given me a new ADSL router and adviced me on a change of IP to 192.168.***.***
Under the redhat network configuration GUI, I have changed the eth0 IP, netmask and gateway.
Problem is now i cant seem to connect to the internet. When i do an iptraf to listen on eth0 seems that its still routing to my old ip (aka 219.93.***.***)

I dont know how to flush the routing table...but i tried
#route -FC flush
seems that it doesnt work.
 
Old 03-02-2004, 02:20 AM   #2
Skunk_Face
Member
 
Registered: Jan 2004
Posts: 54

Original Poster
Rep: Reputation: 15
bahh...am now in bigger trouble than i started...manage to flush routing like so
#ip route flush cache

apparently that was not the problem, so decided to unplug the network and then plug in again then reconfigure..now i got 2 nics with device showing as eth0 ...how's this possible?
 
Old 03-02-2004, 11:58 AM   #3
ScooterB
Member
 
Registered: Sep 2003
Location: NW Arkansas
Distribution: Linux Redhat 9.0, Fedora Core 2,Debian 3.0, Win 2K, Win95, Win98, WinXp Pro
Posts: 344

Rep: Reputation: 31
First, some basic questions. Has your ISP in fact changed your ip address. I guess what I am saying is that did you get a letter saying that your ip was going to change and that info hasn't got down to that tech who actually has to change it on their system? Second, do you have another box that you can plug in (preferably a windoze or something similar) that you can assign that ip address to and connect successfully? Can you successfully ping their router? Can you ping yahoo.com (this insures DNS working)? Try to find these things out and repost.
 
Old 03-02-2004, 08:01 PM   #4
Skunk_Face
Member
 
Registered: Jan 2004
Posts: 54

Original Poster
Rep: Reputation: 15
opps my bad ....sorry peeps...turns out was a stupid mistake on my part.

The problem was solved after i managed to flush the routing table and change a line in my iptables that had all my internal traffic SNAT to my old IP.

Bout the 2 nic with device name eth0 ...turns out all i needed to do was set a different IRQ for each one

I was really kicking myself in the butt when i finally managed to trace the problem.

Again my most humble apologies....and thanks for the tip ScooterB
 
Old 03-03-2004, 05:08 AM   #5
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 655Reputation: 655Reputation: 655Reputation: 655Reputation: 655Reputation: 655
Your ADSL ip address is not an internet address. Are they running all of there customers through a few IP address using NAT?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
No internet through DSL Router. beat Slackware 7 11-23-2005 11:12 AM
No internet with router and dsl modem Shinoby Suse/Novell 2 10-29-2004 12:18 PM
Using a Shuttle nForce2 mobo on SuSE 9.0, can't connect to 'net using DSL router. leoronti Linux - Newbie 6 05-12-2004 07:56 PM
dsl/ wireless router no internet stratowalker Linux - Wireless Networking 1 12-16-2003 09:04 PM
Can't connect to net --> DSL through router squirrley Linux - Newbie 1 10-03-2002 09:58 PM


All times are GMT -5. The time now is 08:43 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration