LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 09-12-2003, 07:36 PM   #1
Beetle B.
LQ Newbie
 
Registered: Sep 2003
Posts: 5

Rep: Reputation: 0
Firewall/Router/pppoe/dhcp


Hi,

I got DSL a week ago, and had it hooked up to my Linux box (Gentoo). Everything was fine - the protocol was pppoe, and I ws using rp-pppoe. Real Player, for example, worked fine. Then a few days later, my roommate got a router, and we hooked his computer and mine to it.

So now the DSL connection from the phone jack goes to the router, which uses PPPoE for the DSL. Each computer, however, uses DHCP to connect to the router.

Now I can't access Real Player, and some other programs suggest a firewall. My roommate, though, can access everything using his Windows box.

The firewall on the router is disabled .
I don't have ipchains installed.
I have iptables installed, and tried running it once, but it wasn't compiled into my kernel - I'm assuming that isn't active either.

As my roommate can access everything, I assume neither the router nor the ISP is at fault.

So 1) Other than ipchains and iptables, could I have some other firewall installed on my Linux machine. I installed quite a lot of packages right after getting DSL - could one of them inadvertently have installed a firewall?

2) If the above is not the case - my next guess is the move from PPPoE to DHCP. Could the sudden change create such problems?

Thanks,
 
Old 09-13-2003, 04:48 AM   #2
/bin/bash
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Mandrake Slackware-current QNX4.25
Posts: 1,802

Rep: Reputation: 46
I'm sure your ISP is only giving you one IP address, so is your roomates router setup to do IP-Masquerading?
What does ifconfig tell you?
Do you have an IP?
What about route?
Is there a default route to the router?
Can you ping the router?
Can you ping the windows computer? or versa-visa?

Just a few things you can check.
 
Old 09-13-2003, 01:29 PM   #3
Beetle B.
LQ Newbie
 
Registered: Sep 2003
Posts: 5

Original Poster
Rep: Reputation: 0
Quote:
I'm sure your ISP is only giving you one IP address, so is your roomates router setup to do IP-Masquerading?
Frankly, I have no idea (I'm new to these concepts). I looked on the router, and didn't find an option for it.

Quote:
What does ifconfig tell you?
eth0 Link encap:Ethernet HWaddr 00:E0:189:ED:2A
inet addr:192.168.2.51 Bcast:255.255.255.255 Mask:255.255.255.0
UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1202518 errors:0 dropped:0 overruns:0 frame:0
TX packets:909910 errors:0 dropped:0 overruns:0 carrier:910443
collisions:0 txqueuelen:100
RX bytes:1487060570 (1418.1 Mb) TX bytes:123000245 (117.3 Mb)
Interrupt:11 Memory:de000000-de001080

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:154994 errors:0 dropped:0 overruns:0 frame:0
TX packets:154994 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:53686749 (51.1 Mb) TX bytes:53686749 (51.1 Mb)

Quote:
Do you have an IP?
The ISP gives an IP (dynamic, I believe), and the router assigns one to each computer.

Quote:
What about route?
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.2.0 * 255.255.255.0 U 0 0 0 eth0
loopback localhost 255.0.0.0 UG 0 0 0 lo
default 192.168.2.1 0.0.0.0 UG 0 0 0 eth0

(last one being the router). Not sure what the first one is.

Quote:
Is there a default route to the router?
How do I check?

Quote:
Can you ping the router?
Yes.

Quote:
Can you ping the windows computer? or versa-visa?
I can ping him - haven't tried the other way round (he's not in right now).

One funny thing. When we installed the router, we could go to it's page and see both our computers listed as connected. Now, for some reason, it only shows mine (even though I can ping him, and he can surf). In fact, I can even share files with him using Samba.
 
Old 09-15-2003, 02:07 PM   #4
camelrider
Member
 
Registered: Apr 2003
Location: Juneau, Alaska
Posts: 243

Rep: Reputation: 31
How about the contents of /etc/resolv.conf?
When you were directly connected to the DSL modem the DNS's ip may have been supplied by the ISP each time you connected, making temporary information in /etc/resolv.conf.
If you can get the DNS iIP's off your buddy's box try entering them into /etc/resolv.conf like:
nameserver xx.xx.xx.xx
nameserver yy.yy.yy.yy
 
  


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
Using RedHat 8.x with PPPoE as a router/firewall tnine9 Linux - Networking 12 07-31-2005 01:27 PM
What programs should I use for DHCP, firewall, and a gateway/router? Godsguitarist Linux - Networking 2 10-17-2003 06:30 PM
dhcp, firewall, router, and such Spaz17 Linux - Networking 4 08-11-2003 01:41 PM
router/firewall/nat/dhcp with 5 NICs? nicedreams Linux - Networking 13 06-21-2003 02:26 PM
pppoe through linux router/firewall ..Tookers.. Linux - Networking 2 04-30-2003 07:34 AM


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