1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Help ~~ Joining two different Network ??

Discussion in 'Cisco Small Business Routers and VPN Solutions' started by limesoft, Nov 24, 2005.

  1. limesoft

    limesoft Network Guru Member

    I have subscribe a intra FTP service, they only provide us a single IP that can access to the FTP server. which is example IP: 90.0.0.100 Subnet:255.255.0.0 gateway: 90.0.0.1. Now i have also private pc network which is around 10 pcs, and with ADSL connection connect to my linksys ADSL modem Router (AG241) which is having 192.168.1.1 gateway.

    My question is how can i join the two different network so that i can surf internet and as well as i can use the intra FTP services.
     
  2. DocLarge

    DocLarge Super Moderator Staff Member Member

    You can try running "straight thru" CAT 5 cable from your internet router (AG241) to the WAN port of your router that hosts your private pc (first have the dhcp server on your AG241 give out "one" ip address that your second router can pull).

    Make sure your second router does "not" have the same Lan setting as your AG241.

    Forward any ports for any applications on your private network "from" your internet connected router (AG241). For instance, if you were running an FTP server on your private LAN, you would forward ports from the AG241 to whatever IP address the "WAN" port of second router gets from the AG241 (remember, you have dhcp on the AG241 setup to give out "one" ip address the second router will pull to use).

    Doc
     
  3. Mr_X

    Mr_X Network Guru Member

    You can add more than one IP address to a card but you'll have to change gateway or play with 'route' command under cmd.exe
    In your case, you'll have to do these commands on your router:

    For windows:
    Go to TCP/IP properties of your card, click on "Advanced". You have a "box" called IP Adresses, just click on "Add..." and give it with a mask

    "route -p add 90.0.0.0 MASK 255.255.0.0 90.0.0.1" without quote
    I'm nearly sure, maybe some argument are missing (add also the interface to which it's supposed to go, check 'route' help

    (i'm not sure it's not missing some arguments, but it's a start)

    It will route Everything that go to 90.0.x.x (90.0.0.0/255.255.0.0) by 90.0.0.1 (gateway). That is if you are playing with windows.


    For linux, it's quite easy

    ifconfig $INTERFACE add 90.0.0.1 netmask 255.255.0.0
    route add 90.0.0.0/255.255.0.0 gw 90.0.0.1 if $INTERFACE

    replace $INTERFACE with the good interface (i don't know which one).
    If you want to do it with a script, just this in a file and chmod it to executable (chmod +x filename) (do not forget to change your interface if it's not the good one):
    #!/bin/sh

    INTERFACE=eth0

    ifconfig $INTERFACE add 90.0.0.1 netmask 255.255.0.0
    route add 90.0.0.0/255.255.0.0 gw 90.0.0.1 if $INTERFACE
     
  4. limesoft

    limesoft Network Guru Member

    thanks guys, but both of the method can't work. Any how i'm using RV082.

    ADSL modem (AG241 - 1483 bridge) ----> RV082 wan 1 + Network B ( private FTP ) -----> RV082 wan 2.

    RV082 ip -> 192.168.1.1
    Wan 1 PPPoE
    Wan 2 Static IP (ip.90.0.0.100 , sub. 255.255.0.0 , g/w 90.0.0.1)
    system mode --> Load Balance (Auto Mode)

    and it works, it can access internet and the ftp at the same time. But one thing, sometime it still unstable.
     

Share This Page