LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   cannot connect to internet after switching dsl router (https://www.linuxquestions.org/questions/linux-networking-3/cannot-connect-to-internet-after-switching-dsl-router-152437/)

Skunk_Face 03-01-2004 09:41 PM

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.

Skunk_Face 03-02-2004 01:20 AM

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?

ScooterB 03-02-2004 10:58 AM

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.

Skunk_Face 03-02-2004 07:01 PM

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

jschiwal 03-03-2004 04:08 AM

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


All times are GMT -5. The time now is 05:41 AM.