Previous in Forum: Sensors Details Required   Next in Forum: Crate Pro Audio PA-4
Close
Close
Close
10 comments
Rate Comments: Nested
Power-User

Join Date: Sep 2011
Posts: 267
Good Answers: 7

Modem Bridge Mode and Routing

07/01/2012 8:18 PM

I don't quite understand the concepts involved.

Siplified, I have a westel DSL modem operating in Bridge Mode (I have 2 available, one is a 2200 th other is like a 62000 or 64000, I think) and it's set in Bridge mode and has a config address of 192.168.1.1 or whatever. The router has the private address of 10.0.1.1 and their is an acces point providing wireless access. The AP isn't in the picture.

There is also a public IP address assigned.

So, my network is a 10.10.1.x , the router 10.0.1.1

Some questions:

1) If I ping my router, am I don't think I'm including the DSLAM to Modem link.

2) If I ping my public IP address what paths does it include:

1. ISP's router (Does it respond to the router address)

2. Does it include the DSLAM to DSL modem path

3. Does it include the DSL modem to router path

If I try to reach the DSL modem 192.168.1.1 when I'm on the 10.0.1.x network, I can't. Does this mean that the router blocks any private IP addresses. i.e Is it it's responsibility to route them or is it the gateway's.

If I arp -a a ping 10.10.0.1, I get:

Interface: 10.0.1.3 --- 0xc
Internet Address Physical Address Type
10.0.1.1 00-03-93-27-xx-xx dynamic

10.0.1.4 00-80-92-46-xx-xx dynamic

10.0.1.225 00-00-48-51-d2-48 dynamic

10.0.1.255 ff-ff-ff-ff-ff-ff static
224.0.0.22 01-00-5e-00-00-16 static
224.0.0.251 01-00-5e-00-00-fb static
224.0.0.252 01-00-5e-00-00-fc static
224.0.0.253 01-00-5e-00-00-fd static
239.255.255.250 01-00-5e-7f-ff-fa static
255.255.255.255 ff-ff-ff-ff-ff-ff static

Can I add a static route to access the DSL modem or is it if the modem is in bridge mode, it isn't accessible?

Register to Reply
Pathfinder Tags: BRIDGE MODE DSL MODEM routing
Interested in this topic? By joining CR4 you can "subscribe" to
this discussion and receive notification when new comments are added.
Guru

Join Date: Mar 2007
Location: by the beach in Florida
Posts: 33392
Good Answers: 1817
#1

Re: Modem Bridge Mode and Routing

07/01/2012 9:10 PM

You might find some answers here....

http://www.dslreports.com/faq/westell

__________________
All living things seek to control their own destiny....this is the purpose of life
Register to Reply
Guru

Join Date: Jul 2006
Location: Silicon Valley
Posts: 5356
Good Answers: 50
#2

Re: Modem Bridge Mode and Routing

07/02/2012 7:25 AM

What exactly are you trying to do?

Your PC is connected to the DSL modem, and that has a P-to-P connection to the DSLAM, which in turn is connected to an ATM network. Am I right?

I'm guessing that if your DSL modem is in "bridge mode," then it's not routing IP. All it's doing is passing Ethernet frames to the DSLAM, using the physical MAC addresses.

Can you provide more info? Especially, your goal.

__________________
"Perplexity is the beginning of dementia" - Professor Coriolus
Register to Reply
Power-User

Join Date: Sep 2011
Posts: 267
Good Answers: 7
#3
In reply to #2

Re: Modem Bridge Mode and Routing

07/02/2012 8:39 AM

The DSL modem connects to the ISP using PPPOE.

QUOTE: I'm guessing that if your DSL modem is in "bridge mode," then it's not routing IP. All it's doing is passing Ethernet frames to the DSLAM, using the physical MAC addresses./UNQUOTE

Well, if that's it, then I can see why I can't connect to the MODEM's http configuration page, because there is no way of getting there.

Goal: I don't know how bridging and to some extent routing works to understand why a computer that say is on 10.10.0.4, the router is at 10.10.0.1. The WAN port of the router connects to the modem whose IP address is 192.168.0.1 (not on the 10.10.0.x) network. The subnet mask is 255.255.255.0 for my 10.10.0.x addresses.

So, it's like why can't an address on the LAN (10.10.0.x) see an address on the WAN of 192.168.1.1)? I was expecting that packets not on 10.10.0.x would get forwarded to the WAN, but 192.168.x.x is not routeable and who/what decides that. Did the router see a request of 192.168.x.x and decide it should stop at the router?

Register to Reply
Guru

Join Date: Jul 2006
Location: Silicon Valley
Posts: 5356
Good Answers: 50
#4
In reply to #3

Re: Modem Bridge Mode and Routing

07/03/2012 2:04 AM

I'm assuming that the router is yours and not the ISP's. If so, how do you have the router, the DSL modem, and your PC physically connected?

Also, if the configuration interface of the router is on the 192.168.0.x network, you're not going to reach it from the 10.0.0.x network. To connect to the router through HTTP for configuration, your PC also has to have an interface on the 192.168.0.x network, and with a matching subnet masks.

Please let me know more about how you have all this physically connected.

__________________
"Perplexity is the beginning of dementia" - Professor Coriolus
Register to Reply
Guru

Join Date: Mar 2011
Location: Sebastopol, California
Posts: 1205
Good Answers: 54
#5

Re: Modem Bridge Mode and Routing

07/03/2012 10:30 AM

Multiple networks and multiple addresses can be assigned on any interface. When the DSL modem is used in bridge mode, it has the 192.168.1.x network bound to it, but none of the other networks. It acts as a repeater in what is called promiscuous mode. This mode listens to all packets and then repeats them all on it's other interface. In this way it acts like a bridge. You can reach it if you use the same network as its interface default. There is webpage on that 192.168.1.x binding.

It will respond only if your PC is also using a 192.168.1.x address. To see this and to see the router through it, you must either change addresses on your PC to match, OR assign a secondary address to your PC. Most system allow you to manually assign secondary addresses. Add the modem address to the hosts list and add the route to it to the routing tables using the modems IP address as the gateway for the 192.168.x.x and 192.168.1.x networks.

This should allow you to see the bridge on 192.168.x.x when you need to, and to see all other traffic through and to the router otherwise.

__________________
Most people are mostly good most of the time.
Register to Reply
Power-User

Join Date: Sep 2011
Posts: 267
Good Answers: 7
#6

Re: Modem Bridge Mode and Routing

07/03/2012 11:19 AM

I'll answer vermin's question first and then come back to Deffburger when I digest some of Deefburger's comments.

1) There is a DSL splitter in the NID

2) 5' away there is a DSL modem

3) About 25' away (Center of the house) there is a Router (An old Apple Snow Router with a bad wireless card). The modem is connected to the LAN port of the router. The Apple router allowed wireless dial-up internet when I had it for free. I might still get free dial-up back.

4) Then there is a 5 port Gigibit switch (free) and another 100bt switch (nearly free).

5) There is an Belkin router ($20) configured as a b/g Wireless access point providing wireless service to the laptop.

6) There is a D-link b/g repeater ($120) somewhere in the house to handle a dead spot.

Printer(wired), Printer(wireless), USB serial server, Slingbox, Roku Radio(wireless) have Static IP addresses. The Laptop have a Dynamic one with a 1 YR Lease.

The OS in use now is Win 7 Pro.

The Telco guy say my DSL service is "pristine". The inside phone wiring is a spider web with lots of quad wire and phone loads.

Register to Reply
Guru

Join Date: Mar 2011
Location: Sebastopol, California
Posts: 1205
Good Answers: 54
#7

Re: Modem Bridge Mode and Routing

07/03/2012 12:11 PM

Perhaps I can clarify further. I can setup my PC and my Intranet (home network) to use 10.1.x.x which is the network number 10.1.x.x with a subnet mask of 255.255.0.0. The subnet mask defines the network number part of the IP address with the 255.255 part. The 0.0 part of the mask defines the host number portion of the address. So all of my IP addresses in my Intranet are set to use 10.1. My Router is one device on my Intranet that links me to the outside world and so is my Gateway. It may also be my DHCP server as well. It will probably be set to 10.1.0.1 as that is the first address in 10.1.x.x network. If my PC is told to go to a network address that is not local, ie on 10.1.x.x, then it will send to the gateway by default. The router, which is connected to other networks and gateways, receives this packet and forwards it to the interface that it's routing tables tell it links to the address you specified.

Now, your modem is bridging. It has an address, but that address is NOT in the routers tables! So your router can't send you to it because it doesn't know that the modem has an address bound to it. YOU do! But when you enter 192.168.1.50 or whatever the modem address is, the router does not have that network in it's list of routes, so it won't send that request through. The reason is simple: The router is bound on it's outside port, it's Internet port, to the Internet address space and it has the Internet gateway(your ISP) as the default gateway. It will try to route your reqest THROUGH the modem, not TO the modem by encapsulating the packet addressed to the Internet gateway address rather than the modems address.

Now, If you connect your PC directly to the DSL modem, and then set your PC to use the same network number of 192.168.x.x and a host number that is not in conflict with the modem itself, say 192.168.1.49, AND you set the gateway on the PC to the adress of the modem as well, THEN you can talk directly to the modem!

The router will not do this unless you set it to use the modem the same way. But if you do, then you can't see the ISP!

All that said, you CAN use multiple addresses and multiple networks on the same wireing, the same Inranet hardware. For instance, you can bind 192.168.1.2 AND 10.1.0.2 to the same ethernet card on your PC. If your printers are setup for 10.1.x.x and your wireless is setup for 192.168.1.x, your PC can see both. If your other PC is set for only 192.168.1.x then it will not see the wireless but it will see the printer. Same is true for your modem and your router.

Many large facilities have divisions within the company network that utilize different network numbers on the same wires and switches. The production machines may be on 10.1 and the office machines on 192.168. The engineers may be setup for both so they can talk to the office systems AND send commands down to the production floor equipment. My servers which run virtual machines may utilize multiple network addresses for similar reasons.

__________________
Most people are mostly good most of the time.
Register to Reply
Guru

Join Date: Mar 2011
Location: Sebastopol, California
Posts: 1205
Good Answers: 54
#8

Re: Modem Bridge Mode and Routing

07/03/2012 12:17 PM

One more thing, answering your question "Can I set the router with a static address to access the modem?" YES. You must use the modems address as the destination AND the gateway for the route to network 192.168.1.0.

source address: 0.0.0.0

destination network: 192.168.1.0

gateway: 192.168.1.? (the IP address of the modem)

That should do ya!

__________________
Most people are mostly good most of the time.
Register to Reply
Power-User

Join Date: Sep 2011
Posts: 267
Good Answers: 7
#9

Re: Modem Bridge Mode and Routing

07/03/2012 3:42 PM

I think I have it for the most part.

Windows Route command has the syntax of:

ROUTE [-f] [-p] [-4|-6] command [destination]

[MASK netmask] [gateway] [METRIC metric] [IF interface]

I know what Metric is, and I should probably use that. It can basically say if you can't find it using what you have look in the other route.

Does Windows Bind on all interfaces if IF is left out? I'm sure I can get what belongs there from ipconfig.

What does a source address of 0.0.0.0 mean?

What should the subnet mask be? 255.255.255.0

or better yet, what should the route command look like?

So, in this case, the gateway would be the address of the router, not the public IP address?

When I was playing long ago, I had this route set, so, I guess it isn't right or is it?

Persistent Routes:
Network Address Netmask Gateway Address Metric

0.0.0.0 0.0.0.0 192.168.1.1 Default

Wireless is 2 and Ethernet is 3 for IF.

Register to Reply
Guru

Join Date: Mar 2011
Location: Sebastopol, California
Posts: 1205
Good Answers: 54
#10
In reply to #9

Re: Modem Bridge Mode and Routing

07/03/2012 4:07 PM

Source is used in most routing tables if you are creating or defining static routes. You may not need it. Your command can ignore metric and interface since you probably have only one hop(metric) and only one interface (your ethernet port).

The static route is not for your PC, but is instead an entry in your router, assuming the path from PC to Internet is: PC -> switch -> router -> Modem/bridge -> ISP gateway -> Internet

So, the static route needs to be made at the router. (The switch doesn't care, it moves ALL packets). AND you will need to bind a secondary IP address matching the modem on the WAN interface of the router so the router has an appropriate interface to route through for that network address.

The reason is because the router needs to see the modem directly as a destination not just as a bridge. Your router may be incapable of settings and modifications like these, though some are. I use an old PC for a router running ClearOS and it can be configured for anything.

__________________
Most people are mostly good most of the time.
Register to Reply
Register to Reply 10 comments
Copy to Clipboard

Users who posted comments:

Deefburger (4); KeepItSimpleStupid (3); SolarEagle (1); vermin (2)

Previous in Forum: Sensors Details Required   Next in Forum: Crate Pro Audio PA-4

Advertisement