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

Routing question

Discussion in 'Networks' started by HTF, Mar 10, 2010.

  1. HTF

    HTF Byte Poster

    181
    0
    14
    Hi,

    I've set the IP to windows server 2003 PC from private range 10.0.0.10 I've also set its gateway to IP of the router 192.168.1.1 then I enabled Routing and Remote access where I set static route IP 10.0.0.0, 255.0.0.0 => 192.168.1.1
    My routing table is looking like this now:

    [​IMG]

    Is actually ever gonna work like this? Basically I would like to test it if I can run the PC with different IP than router.
     
    Last edited: Mar 10, 2010
    Certifications: A+
  2. danielno8

    danielno8 Gigabyte Poster

    1,305
    48
    92
    tbh i don't know about how the RRAS works, but i think you would need an interface which is connected to the 192.168.1.0 network.

    Basically, a 10.0.0.10 interface cannot use a DG of 192.168.1.0.
     
    Certifications: CCENT, CCNA
    WIP: CCNP
  3. SimonD

    SimonD Terabyte Poster Moderator

    3,463
    397
    199
    You need to have two nics, one with the 192.168.x.x address, the other with the 10.x.x.x address. On each workstation connecting to the 10.x.x.x network you would then use the 10.x.x.x address of the server as the default gateway, you wouldn't need to set a gateway on that particular NIC (server) because the default gateway would be set as the 192.168.x.x of the router on the secondary NIC. It would sort out the routing of all traffic that way.

    E.G

    10.0.0.11 (workstation) would have the DG as 10.0.0.10 (server with two nics), any traffic for any other network except 10.0.0.0 would then go to 10.0.0.10 for a route beyond that network. 10.0.0.10 would look at it's routing table and see that 192.168.1.10 has the default gateway sat as 192.168.1.1 and direct all traffic out through that NIC>
     
    Certifications: CNA | CNE | CCNA | MCP | MCP+I | MCSE NT4 | MCSA 2003 | Security+ | MCSA:S 2003 | MCSE:S 2003 | MCTS:SCCM 2007 | MCTS:Win 7 | MCITP:EDA7 | MCITP:SA | MCITP:EA | MCTS:Hyper-V | VCP 4 | ITIL v3 Foundation | VCP 5 DCV | VCP 5 Cloud | VCP6 NV | VCP6 DCV | VCAP 5.5 DCA
    WIP: VCP6-CMA, VCAP-DCD and Linux + (and possibly VCIX-NV).
  4. HTF

    HTF Byte Poster

    181
    0
    14
    Thank you very good explanation ;).

    Edit:

    I've just tested and it's still not working do I have to add some route apart from that are existing at the moment?

    Settings:

    Server

    NIC1
    IP 192.168.1.130
    Subnet 255.255.255.0
    DG 192.168.1.1 (router)

    NIC2
    IP 10.0.0.10
    Subnet 255.0.0.0
    No DG

    Workstation:
    IP 10.0.0.11
    Subnet 255.0.0.0
    DG 10.0.0.10 (Server)

    Both machines ping each other and i have internet connection on the server but not on the workstation?
    I restarted both PCs. Do I have to add some route?

    Routing table form server:

    [​IMG]


    OK everything fine now enabling NAT on the interface with 192.168.1.130 helped.
     
    Last edited: Mar 10, 2010
    Certifications: A+
  5. HTF

    HTF Byte Poster

    181
    0
    14
    Hi,

    I have another question is there some port forwarding in windows 2003? I would like to enabled it so I could RDP to PCs from LAN (I've set this on router before but I'm wondering now if there is such a option in windows 2003).

    Basically I have one public IP and I would like to RDP to machines from LAN with different ports, for example:
    -PC 1 IP xxxx.xxx.xxx.xxxx:3390
    -PC 2 IP xxxx.xxx.xxx.xxxx:3391

    Servers has two NICs
    NIC1 is with public IP with NAT enabled on it
    NIC2 has IP from private range and I have network connection on clients,

    - so I've set something like this but it's not working:

    [​IMG]

    I would like to achieve this without changing default RDP port of desired machines

    Edit:

    OK sorry but this solution is actually works just second reboot of routing services helped
     
    Last edited: Mar 14, 2010
    Certifications: A+
  6. Sparky
    Highly Decorated Member Award

    Sparky Zettabyte Poster Moderator

    10,190
    296
    319
    Do you want to connect to your PCs remotely through RDP? Bit confused here :biggrin
     
    Certifications: MSc MCSE MCSA:M MCSA:S MCITP:EA MCTS(x5) Security+ Network+ A+
    WIP: Exchange 2007\2010
  7. HTF

    HTF Byte Poster

    181
    0
    14
    Yes, I'm just learning/testing everything ;). I have few PCs and I would like to RDP to all of them from external network (internet) so that's why I have to use different ports for RDP connections with just single, public IP.

    As I said the solution above is working ;)
     
    Certifications: A+
  8. SimonD

    SimonD Terabyte Poster Moderator

    3,463
    397
    199
    Actually from a security stand point if you are trying to RDP from externally you are better off changing the default port of RDP.

    You can then connect to the machine by using machinename:port
     
    Certifications: CNA | CNE | CCNA | MCP | MCP+I | MCSE NT4 | MCSA 2003 | Security+ | MCSA:S 2003 | MCSE:S 2003 | MCTS:SCCM 2007 | MCTS:Win 7 | MCITP:EDA7 | MCITP:SA | MCITP:EA | MCTS:Hyper-V | VCP 4 | ITIL v3 Foundation | VCP 5 DCV | VCP 5 Cloud | VCP6 NV | VCP6 DCV | VCAP 5.5 DCA
    WIP: VCP6-CMA, VCAP-DCD and Linux + (and possibly VCIX-NV).
  9. Sparky
    Highly Decorated Member Award

    Sparky Zettabyte Poster Moderator

    10,190
    296
    319
    What router are you using for the internet connection?

    Edit: a reboot always saves the day! :)
     
    Last edited: Mar 14, 2010
    Certifications: MSc MCSE MCSA:M MCSA:S MCITP:EA MCTS(x5) Security+ Network+ A+
    WIP: Exchange 2007\2010
  10. HTF

    HTF Byte Poster

    181
    0
    14
    I just get my new toy Linksys WAG 320N ;)
     
    Certifications: A+

Share This Page

Loading...