Network with a Neighhbour HOW?

it wont work
<SNIP>
different default gateways as suggested by somebody else.

Do they really? Networks talk using ip and subnet only (and when a gateway is added it uses a gateway if they can't find the ip on the internal network to send traffic outside of the gateway/router). The gateway was added when gateway devices starting coming about to route traffic outside of a network. If I am wrong state the evidence and tell me I'm wrong.
 
how would that work then?

edit the routeing table?

basically


Do they really? Networks talk using ip and subnet only. The gateway was added when gateway devices starting coming about to route traffic outside of a network. If I am wrong state the evidence and tell me I'm wrong.



thats what were saying, the routing matrix of one router wont route you to the other

so you either have to both use the same default gateway for routing, or specify your own manual routing as i suggested above

third option of course, is to add a second interface which can then have a different default gateway for routing purposes to the other network.
 
Last edited:
Do they really? Networks talk using ip and subnet only. The gateway was added when gateway devices starting coming about to route traffic outside of a network. If I am wrong state the evidence and tell me I'm wrong.


This is my understanding as well.
 
basically
<SNIP>
third option of course, is to add a second interface which can then have a different default gateway for routing purposes to the other network.


Let me get my cisco books out and vmware.
 
I thought the default gateway only came into play, if you were looking at an IP outside your subnet range? So if I'm on 192.168.1.0 and I've got a mask of 255.255.0.0 then the gateway wouldn't get used for anything on 192.168.x.x.

On another note, if you turn DHCP off on your router and then installed a different wireless router you could use its DHCP server. That way it should in theory only give out addresses to the wireless clients, rather than everyone on the network depending on how you set it up.
 
Last edited:
I thought the default gateway only came into play, if you were looking at an IP outside your subnet range? So if I'm on 192.168.1.0 and I've got a mask of 255.255.0.0 then the gateway wouldn't get used for anything on 192.168.x.x.

This was my understanding on the cisco course I did. Just finding out now from my books.
 
i see where your comming from.

but i honestly dont think that the routing table of the router will be able to route traffic to another router
 
I've had 2 routers linked before when I used a decent ADSL router as the main gateway and then a pants ADSL wireless router to provide a signal for my laptops. It all seemed to work fine.
 
Cisco Books Companion Guide 3/4 said:
A need exsits for a default route that will allow routers to send packets of unknown addresses towards a router that might have the packet network address in its routing table. A Configured default route is used by routers to generate a gateway of last resort.

Example:

House 1
Router: 192.168.0.1
Subnet: 255.255.255.0
Gateway: 192.168.0.1
DNS1:192.168.0.1
DNS2:blank
PC1 IP: 192.168.0.2
PC2 IP: 192.168.0.3
PC3 IP: 192.168.0.4
PC4 IP: 192.168.0.5 / up to 192.168.0.29

House 2
Router: 192.168.0.30
Subnet: 255.255.255.0
Gateway: 192.168.0.30
DNS1:192.168.0.30
DNS2:blank
PC1 IP: 192.168.0.31
PC2 IP: 192.168.0.32
PC3 IP: 192.168.0.33
PC4 IP: 192.168.0.34 / up to 192.168.0.50

Including house to house file sharing. If you want to be clever you could add redundancy to the network by writting a batch file for changing DNS and gateway for if one network went down. (This could add DNS2 into place and change gateway to the other router!
 
Last edited by a moderator:
I've had 2 routers linked before when I used a decent ADSL router as the main gateway and then a pants ADSL wireless router to provide a signal for my laptops. It all seemed to work fine.

thats a different setup though

in that, your effectively turning the router into wireless AP. As both the wired and wireless routers would have looked to the same box for the internet

this setup requires 2 routers both with separate internet connections that traffic goes to one router, but can go to a second router if required. im pretty sure this is only achievable with static routes.

Originally Posted by Cisco Books Companion Guide 3/4
A need exsits for a default route that will allow routers to send packets of unknown addresses towards a router that might have the packet network address in its routing table. A Configured default route is used by routers to generate a gateway of last resort.

so a bit of route table editing then ?
 
Last edited:
sorry ive edited my post for clarification of what i was referring to :)

but how will .30 route traffic bound for .02, .03 etc.. when they're attached to another router ? it only works if they're physically attached which they wont be.
 
sorry ive edited my post for clarification of what i was referring to :)

but how will .30 route traffic bound for .02, .03 etc.. when they're attached to another router ? it only works if they're physically attached which they wont be.

They would be if you do a router to router attachment. If my post was bare I appoligise for it thats how I ment not Pc > Pc. Alough your post is another way to do it, Pc > Pc via second nic and static addresses!

Dont you just love networking.
 
They would be if you do a router to router attachment. If my post was bare I appoligise for it thats how I ment not Pc > Pc. Alough your post is another way to do it, Pc > Pc via second nic and static addresses!

Dont you just love networking.

would the routers definately combine routing tables though ?

i was under the impression they wouldnt
 
Is another option to install a cheapy switch/hub in between the computers and routers and then link the 2 switches together? That way as long as the subnet mask is set correctly (or everything uses 1 subnet) they should never touch the routers and no traffic confusion.
 
If you are both on the same subnet, you do NOT have to have the same default gateway. Your default gateway is used for traffic LEAVING your own subnet. Everything else is handled at layer 2 by arp.

So, in essence, you could plug a piece of cat 5 in to a switchport on your router, the other end goes in his. You disable DHCP on BOTH routers and manually configure address, dns, DFG etc. The only difference will be that your DFG/DNS will be your router/ISP, and his will be his. This will work just fine.
Personally, I would do it with 2 routers at each end. One to terminate your internet connection and the other to handle a "point-to-point" ethernet link. You just need to ensure that the subnets at each end do not clash.
Then you plug the second routers switchport into your primary router switchport, and either set up a static route on the internet router, or add a static router in windows to point via the ethernet link router when sending traffic to your neighbour.

There is no simple way to explain this haha
 
If you are both on the same subnet, you do NOT have to have the same default gateway. Your default gateway is used for traffic LEAVING your own subnet. Everything else is handled at layer 2 by arp.

So, in essence, you could plug a piece of cat 5 in to a switchport on your router, the other end goes in his. You disable DHCP on BOTH routers and manually configure address, dns, DFG etc. The only difference will be that your DFG/DNS will be your router/ISP, and his will be his. This will work just fine.
Personally, I would do it with 2 routers at each end. One to terminate your internet connection and the other to handle a "point-to-point" ethernet link. You just need to ensure that the subnets at each end do not clash.
Then you plug the second routers switchport into your primary router switchport, and either set up a static route on the internet router, or add a static router in windows to point via the ethernet link router when sending traffic to your neighbour.

There is no simple way to explain this haha

So your now saying that i need 2 routers. Its all getting a bit technical now so heres what i need the network to do for me.

House 1,
2 PCS
2 Wireless Laptops
1 Network Printer

House 2
2 PCS
3 Wireless Laptops
1 Network Printer

every pc/laptop has a shared folder/s configured by the user (not the default windows one). I need to be able to access these files from every other pc / laptop and of course the printers.

Whats more the pcs / laptops are running diff OS, some XP Home & Pro some Vista and Vista 64bit.

Surely there must be a simple / cheap way to interconnect 2 networks.

:confused::confused::confused::confused::confused:
 
So your now saying that i need 2 routers. Its all getting a bit technical now so heres what i need the network to do for me.
<SNIP>
:confused::confused::confused::confused::confused:

1 at each house, connect them via ethernet cable. and the correct settings. Thats all
 
i still like the bridge idea.......

edit;

considering your knowage on networking, do you really what to be assigening all the pc's and laptops with IP address's and then each time a laptop leaves the network change it to auto and then set back to the static when they get home?

also trying to falut find when your mate saids 'i can get my pc to see yours' might be more toublesome than just restarting the brifge router and reseating the cat5 cables.

thats my rant done.
 
Last edited:
i still like the bridge idea.......

And the pros of this method again? Other than kepping the 2 networks seperate? Wouldnt this require the same settings as the straight cable method.?

My router is a bit old now a WRT54G v1.1 running Firmware Version: v4.71.1, Hyperwrt 2.1b1 + Thibor15c Would this be capable of bridging the networks? as i may invest in a new router, quite like ma mates Netgear WPN824
 
Back
Top Bottom