Networking Forums

Networking Forums > Computer Networking > Linux Networking > Simple hub between DSL modem and netgear router - No link

Reply
Thread Tools Display Modes

Simple hub between DSL modem and netgear router - No link

 
 
jeff
Guest
Posts: n/a

 
      04-09-2004, 11:07 PM
I want to put a hub between my netgear FM114P router and the crappy
Yamaha DSL modem, so that I can plug a linux box to the hub and gather
traffic info in promisc mode.
I've tried every single combination of physical port on the hub with
crossover and straight through cables. When I connect the netgear router
into the hub, the link light always blinks (instead of remain solid). I
the Internet port on the netgear is an auto-sense port, in the sense
that I can use a straight through cable and it will adjust accordingly.
But, no matter which cable I use, no Link is ever achieved. Connection
between DSL modem, ironically enough, seems to work *regardless* of
which cable I use.
Am I just not giving the netgear router enough time to adjust to the
cable? It has no problem adjusting when I plug the Modem straight to the
router.

Any help appreciated.
jeff
 
Reply With Quote
 
 
 
 
David Efflandt
Guest
Posts: n/a

 
      04-10-2004, 01:40 AM
On Fri, 09 Apr 2004 23:07:21 GMT, jeff <(E-Mail Removed)> wrote:
> I want to put a hub between my netgear FM114P router and the crappy
> Yamaha DSL modem, so that I can plug a linux box to the hub and gather
> traffic info in promisc mode.
> I've tried every single combination of physical port on the hub with
> crossover and straight through cables. When I connect the netgear router
> into the hub, the link light always blinks (instead of remain solid). I
> the Internet port on the netgear is an auto-sense port, in the sense
> that I can use a straight through cable and it will adjust accordingly.
> But, no matter which cable I use, no Link is ever achieved. Connection
> between DSL modem, ironically enough, seems to work *regardless* of
> which cable I use.
> Am I just not giving the netgear router enough time to adjust to the
> cable? It has no problem adjusting when I plug the Modem straight to the
> router.


The communication between router and dsl modem is likely PPPoE, which does
not even use any ethernet IPs. So if you are listening for tcp/ip
ethernet traffic on a hub between them, there is none. The tcp/ip to the
internet is encapsulated in the PPP.

--
David Efflandt - All spam ignored http://www.de-srv.com/
 
Reply With Quote
 
jeff
Guest
Posts: n/a

 
      04-10-2004, 02:50 AM
David Efflandt wrote:
>
> The communication between router and dsl modem is likely PPPoE, which does
> not even use any ethernet IPs. So if you are listening for tcp/ip
> ethernet traffic on a hub between them, there is none. The tcp/ip to the
> internet is encapsulated in the PPP.
>


Interesting you mention that. I finally managed to get a link between
the router and the hub using straight through, then a crossover between
hub and dsl modem. Internet seems to work as usual. But, once I start up
ethereal, snort, tcpdump, etc., you're right, I don't see any traffic,
which i thought was strange. Ive had problems with this pcmcia card
before, so im recompiling the kernel w/ modules fresh, just to make sure.
Anyway, I've seen multiple references to people putting a hub in front
of their router for a similar purpose as mine. My connection to verizon
is dhcp, so unless the router and modem need to do encapsulation for
their communication purposes, its not applicable here.
Thanks for the reply.

jeff
 
Reply With Quote
 
Grant Edwards
Guest
Posts: n/a

 
      04-10-2004, 05:12 AM
In article <iiJdc.18780$(E-Mail Removed)>, jeff wrote:

> Interesting you mention that. I finally managed to get a link between
> the router and the hub using straight through, then a crossover between
> hub and dsl modem. Internet seems to work as usual. But, once I start up
> ethereal, snort, tcpdump, etc., you're right, I don't see any traffic,


Are you _sure_ it's a hub and not a switch?

Hubs are very rare these days.

Unless you've got something at least 5 years old that doesn't
support dual speeds (10/100), it's probably a switch. Switches
don't send all packets out all ports, so your sniffer won't see
traffic not destined for it.

--
Grant Edwards grante Yow! I just bought
at FLATBUSH from MICKEY
visi.com MANTLE!
 
Reply With Quote
 
Kurt
Guest
Posts: n/a

 
      04-10-2004, 09:47 AM
jeff wrote in news:J0Gdc.20570$(E-Mail Removed):

> I want to put a hub between my netgear FM114P router and the
> crappy Yamaha DSL modem, so that I can plug a linux box to the hub
> and gather traffic info in promisc mode.
> I've tried every single combination of physical port on the hub
> with crossover and straight through cables. When I connect the
> netgear router into the hub, the link light always blinks (instead
> of remain solid). I the Internet port on the netgear is an
> auto-sense port, in the sense that I can use a straight through
> cable and it will adjust accordingly. But, no matter which cable I
> use, no Link is ever achieved. Connection between DSL modem,
> ironically enough, seems to work *regardless* of which cable I
> use.
>


hi jeff,
One way that you can do this is showin in an article that you can find
at the following link.

Linux Journal, Peering over the firewall, 23 July 2003
Http://www.linuxjouranl.com/print.php?sid=6985
I think that is the printable version. But it show exactly how to
modify a cable for use with a snort box and hub on a LAN for sniffing.
HtH
--
Cheers,
Kurt

 
Reply With Quote
 
Kurt
Guest
Posts: n/a

 
      04-10-2004, 03:36 PM
Kurt wrote in news:Xns94C732315396AdisorgFoo@127.0.0.1:

> Http://www.linuxjouranl.com/print.php?sid=6985


Http://www.linuxjournal.com/article.php?sid=6985
sorry for the typo.

--
Cheers,
Kurt

 
Reply With Quote
 
jeff
Guest
Posts: n/a

 
      04-10-2004, 03:55 PM
Grant Edwards wrote:
> In article <iiJdc.18780$(E-Mail Removed)>, jeff wrote:
>
> Are you _sure_ it's a hub and not a switch?
>
> Hubs are very rare these days.
>
> Unless you've got something at least 5 years old that doesn't
> support dual speeds (10/100), it's probably a switch. Switches
> don't send all packets out all ports, so your sniffer won't see
> traffic not destined for it.
>


I've had this for a few years. It's labeled "10/100 EZ Hub". Before I
got my netgear router, I was using a linux box with an iptables firewall
and could easily watch all packets on the network using this hub.
Still can't see traffic on it..so, back to square one.

jeff
 
Reply With Quote
 
jeff
Guest
Posts: n/a

 
      04-10-2004, 03:56 PM
Kurt wrote:

> Kurt wrote in news:Xns94C732315396AdisorgFoo@127.0.0.1:
>
>
>>Http://www.linuxjouranl.com/print.php?sid=6985

>
>
> Http://www.linuxjournal.com/article.php?sid=6985
> sorry for the typo.
>


Thanks for the link. I'll give it a try over the weekend.

jeff
 
Reply With Quote
 
jeff
Guest
Posts: n/a

 
      04-10-2004, 04:01 PM
Grant Edwards wrote:
> In article <iiJdc.18780$(E-Mail Removed)>, jeff wrote:
>
>
>
> Are you _sure_ it's a hub and not a switch?
>
> Hubs are very rare these days.
>
> Unless you've got something at least 5 years old that doesn't
> support dual speeds (10/100), it's probably a switch. Switches
> don't send all packets out all ports, so your sniffer won't see
> traffic not destined for it.
>


Forgot to mention that I can successfully bring up the interface and get
an IP from my isp..so, I'm more than a little confused as to why I can't
see regular traffic.
 
Reply With Quote
 
P Gentry
Guest
Posts: n/a

 
      04-10-2004, 05:39 PM
Kurt <(E-Mail Removed)> wrote in message news:<Xns94C732315396AdisorgFoo@127.0.0.1>...
> jeff wrote in news:J0Gdc.20570$(E-Mail Removed):
>
> > I want to put a hub between my netgear FM114P router and the
> > crappy Yamaha DSL modem, so that I can plug a linux box to the hub
> > and gather traffic info in promisc mode.
> > I've tried every single combination of physical port on the hub
> > with crossover and straight through cables. When I connect the
> > netgear router into the hub, the link light always blinks (instead
> > of remain solid). I the Internet port on the netgear is an
> > auto-sense port, in the sense that I can use a straight through
> > cable and it will adjust accordingly. But, no matter which cable I
> > use, no Link is ever achieved. Connection between DSL modem,
> > ironically enough, seems to work *regardless* of which cable I
> > use.
> >

>
> hi jeff,
> One way that you can do this is showin in an article that you can find
> at the following link.
>
> Linux Journal, Peering over the firewall, 23 July 2003
> Http://www.linuxjouranl.com/print.php?sid=6985
> I think that is the printable version. But it show exactly how to
> modify a cable for use with a snort box and hub on a LAN for sniffing.
> HtH


Since you got your dhcp link to Verizon working OK ... you did, didn't
you? If not yet you might look at this Linux-Verizon fix:
http://groups.google.com/groups?q=g:...ing.google.com

Just in case, that's :
http://www.linuxjournal.com/print.php?sid=6985

Pretty good, basic coverage. Should work for you.

Note that PPPoE client on Linux is not likely needed with most dsl
modems today as they include the client in the modem. Not sure of
yours however.

FYI, Ethereal supports _20_ PPP protocols, including PPPoES (session).
Even tcpdump might capture the packets for you:
tcpdump ether proto 0x8863 '||' ether proto 0x8864

And note that the wire protocol running on an ethernet card _will_ be
ethernet frames -- couldn't be anything else.

hth,
prg
email above disabled
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Simple question on netgear router Desperado Wireless Internet 2 07-03-2007 03:08 AM
D-Link 504T ADSL Modem Router DDNS Dyn DNS Dynamic DNS no-ip no-ip.com 504 T D Link Nick Le Lievre Broadband 0 03-31-2006 01:26 PM
Best router? Linksys vs Netgear vs D-Link? see.my.sig.4.addr@nowhere.com.invalid Windows Networking 4 03-27-2005 11:50 PM
Connecting Netgear DM602 ADSL modem to Netgear WGT624 wireless router Milleniumaire Broadband 4 12-28-2003 03:19 PM
Connecting Netgear DM602 ADSL modem to Netgear WGT624 wireless router Milleniumaire Home Networking 3 12-24-2003 05:23 PM



1 2 3 4 5 6 7 8 9 10 11