Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 02-27-2005, 02:16 AM   #1
Senior Member
Registered: Aug 2003
Location: Berkeley, CA
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986

Rep: Reputation: 45 network with

Just an experiment I am doing for learning's sake, but is it possible to network two routers with different IP addresses? I basically plugged in a router into a router.

Computer A is on router
Computer B is on router

Computer A is unable to browse and share files with Computer B because they are on two different physical networks with different addresses, and vice versa. Both computer A and B have the same workgroup name with unique IP addresses.

Both computers are able to surf the internet flawlessly.
Old 02-27-2005, 03:44 AM   #2
Registered: Sep 2003
Location: Bulgaria
Distribution: Ubuntu 9.10, FreeBSD 7.2
Posts: 459

Rep: Reputation: 32
You could do that on Computer A:
route add -net netmask gw <IP.OF.ROUTER.HERE> dev eth0

And approximately on Computer B, the reverse thing ;]
Old 02-27-2005, 06:59 AM   #3
Registered: Feb 2005
Distribution: Slackware-current 64bit
Posts: 465

Rep: Reputation: 32
add WINS server.
One first segment add to the smb.conf
wins support = yes

on the second segment add to the smb.conf:
wins server = IP_address_of_WINS_server_from_the_first_segment
wins proxy = yes

If you have only two machines, one is windows and the other linux, then make samba WINS server and point to it on the another box.


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
Is someone on my network?! ::ffff: ::ffff:192.168.0.:38201 ESTABLISHE ming0 Linux - Security 4 04-12-2005 01:04 AM
Iptables is converting -s into why !? qwijibow Linux - Security 2 01-26-2005 09:57 AM
what is the meaning of this 192.168/16 ? kublador Linux - Networking 2 09-02-2004 06:51 AM
smtp internal network 192.168.x.x sendmail sloboda Linux - Networking 0 10-03-2001 04:41 PM ? Firew Linux - Networking 1 04-12-2001 01:02 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:09 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration