ADSL problems - Possibly "Route" issuses not sure :S
Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
ADSL problems - Possibly "Route" issuses not sure :S
My Problem:
I have a Zoom X3 running in PPP Half-Bridge mode (sometimes known as DHCP Spoofing) and i've got it hooked up
to my rehat 8 machine.
I have configured eth1 (/etc/sysconfig/network-scripts/eth1) with the details of my static IP and subnet
etc and i can do ./ifup on the interface fine, and it allows me to ping machines on the ips
82.0.0.0 - 82.255.255.255
if i do route -n I get the follwoing:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
127.0.0.0 0.0.0.0 255.255.255.255 UH 0 0 0 lo
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
82.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 eth1
and if i do ifup eth1:0 (contains the details of my 2nd static ip it turns into this:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
127.0.0.0 0.0.0.0 255.255.255.255 UH 0 0 0 lo
82.***.**.** 0.0.0.0 255.255.255.248 U 0 0 0 eth1 (masked)
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
82.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 eth1
if I try to ping a machine with an ip beginning 82. (eg 82.133.120.221 (random IP that exists)) it does this:
[root@neo root]# ping 82.133.120.221
PING 82.133.120.221 (82.133.120.221) from <my ip addr> : 56(84) bytes of data.
<ping results here>
but when i try to ping an address like 213.48.150.3 i get the following :
[root@neo root]# ping 213.48.150.3
connect: Network is unreachable
[root@neo root]#
Can someone help me fix this?
Other possibly usefull Details:
Modem: Zoom X3 in PPP Half-bridge mode
ISP : Nildram UK
Type of connection : PPPoA (PPP over ATM)
ADSL Modulation: G.dmt
ENCAPSULATION: VC-Mux
NIC : Netgear EA201 - on eth1 - working fine, as it was temporarily used as my main NIC when the identical modle on eth0 was broken.
Anything else you need just ask
Thanks
Dataforce.
I think the problem is todo with my route settings, but I'm up for any solution that works (except reinstallation)
When i do that, it SOMETIMES works for about 2 mins, then it stops working :S
Balam: NAT is already configured from when i used ppp0 - the firewall rules have been updated to use eth1 not ppp0 - but thats not the problem i'm having
now that I am remembering I had a similar problem like this one. I was using Mandrake, I my problem was the mandrake keep making down my ethernet card, .
I thought that was happening, it didn't appear to be - the card still appears in ifconfig,
Then some1 told me that perhaps DHCPD was Changing the IP addr on me - so seeing as i have a fixed IP i set the values for the interface to the values from my ISP - but yet again, it still drops dead after a while :S
Unfortunatly my planned upgrade didn't fix the problem, it appears to have worsened it - and i can't go back cos i formatted before upgrading because i needed to (only had 1gb left)
New Routing Table:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth1
82.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 eth1
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 0.0.0.0 0.0.0.0 U 0 0 0 eth1
And when i ping i get :
[root@you root]# ping 82.133.120.221
PING 82.133.120.221 (82.133.120.221) 56(84) bytes of data.
From 82.***.***.*** icmp_seq=1 Destination Host Unreachable
From 82.***.***.*** icmp_seq=2 Destination Host Unreachable
From 82.***.***.*** icmp_seq=3 Destination Host Unreachable
Any ideas what todo ?
Has any one else used a Zoom X3 (or X4) in PPP Half Bridge with linux?
I was running RH 7.0 (a freebee) on an old 300MHz AOpen. I decided that it would be a good thing to set it up as the firewall/router/storage unit for my other computers to connect to. I have Verizon DSL, and here in lies my problems.
The rp-pppoe client wouldn't work with 7.0, pppd out of date and such. I went out and bought RH 9.0. It installed easily and even has its own pppoe client. I ran the adsl-setup script and tried to connect. I am halfway there. I have an IP connection to the outside world (I can ping the verizon server, and other ip's outside my local network. However, I cannot resolve any names. I reran the adsl-setup script with the ips of two of Verizon's local nameservers ns1.bellatlantic.net and ns2.bellatlantic.net I still get nothing.
It may be related to this as well. when I run Lynx, it will not connect to any website, even if I set the IP address instead of typing in the url
When I was messing with route and my iptable, I noticed that if I typed route -n a couple of times in a row, sometimes the connection would be there, and other times it wouldn't. It appears that the connection is being dropped and reinitializing, which may have something to do with the difficulty I am having manually editing the iptables.
it may help to note that my home network looks like this:
|
Verizon's Westell DSL modem
|
linux box
|
Netgear 5port switch
| |
| |--------Win2000 workstation
|
D-link 802.11b WAP
kkerrigan, have you looked to /var/log/messages? If the connection was closed and then opened again, there will be thrace of the fact inside. The logs may give you clues. Or it just looks normal?
Could you write more about the IPs you use? You refer to 192.168.x.x addressses and 10.0.x.x addresses. Which ones you use in your local net?
Does the Net connection work at all (for short time or so?) How does your firewall/masquearading look like? Are you able to ping your global IP?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.