how to route traffic from server via specific static IP?

Discussion in 'Cisco' started by Jason, May 2, 2008.

  1. Jason

    Jason Guest

    Hi all,

    I have 8 static IP from ISP and I suppose can use 6 IP in range: e.g.
    x.x.x.205-x.x.x.110
    and I want to config it, so all traffic from my Email server(192.168.0.2)
    can be routed via specific IP, e.g. x.x.x.206.
    And all traffic of office workstation to be routed with x.x.x.205

    How can I configure it?

    currently, I use below for incoming traffic.
    ip nat inside source static tcp 192.168.0.2 25 x.x.x.206 25 extendable


    Many Thanks!
     
    Jason, May 2, 2008
    #1
    1. Advertisements

  2. Jason

    Guest Guest

    try this:

    ip nat inside source static x.x.x.205-x.x.x.110 192.168.0.2

    one for each host.

    dont forget to clear the nat table after putting int he commands
    (clear ip nat trans *)

    Flamer.
     
    Guest, May 2, 2008
    #2
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.