List Info

Thread: "nat outside"




"nat outside"
country flaguser name
United States
2007-04-11 11:16:59
Hi,

I'm looking for a nat configuration example in juniper M7i. 
I follow the book setup the
service:

nat {
    pool OUTIP {
        address 10.1.2.3/32;
        port automatic;
    }
    rule goOUT {
        match-direction output;
        term 1 {
            from {
                destination-address {
                    10.10.10.10/32;
                }
            }
            then {
                translated {
                    source-pool OUTIP;
                    translation-type source dynamic;
                }
            }
        }
    }
}
How do I apply the nat service to a interface (I failed to
find the example from the book)?  
The router is
Model: m7i
JUNOS Base OS boot [8.0R2.8]
JUNOS Base OS Software Suite [8.0R2.8]
JUNOS Kernel Software Suite [8.0R2.8]
JUNOS Packet Forwarding Engine Support (M7i/M10i) [8.0R2.8]
JUNOS Routing Software Suite [8.0R2.8]
JUNOS Online Documentation [8.0R2.8]

Basically, I would like all packets from interface
fe-0/0/0.0 go to server 
10.10.10.10 be nat-ed.

=> [all other interfaces M7i  fe-0/0/0.0] -->
10.10.10.10 where fe-0/0/0.0 has IP 10.1.2.1/24

Thanks a lot,

OS




       
____________________________________________________________
________________________
Don't pick lemons.
See all the new 2007 cars at Yahoo! Autos.
http://autos.yah
oo.com/new_cars.html 
_______________________________________________
juniper-nsp mailing list juniper-nsppuck.nether.net

https://puck.nether.net/mailman/listinfo/juniper-nsp

Re: "nat outside"
country flaguser name
United States
2007-04-12 02:08:26
You need to define a service-set (which can be applied
 on the physical interface) and use this rule in that
 service-set. See the following links:

http://www.juniper.net/techpubs/software
/junos/junos82/swconfig82-servic
es/html/service-set-config4.html#1032529


http://www.juniper.net/techpubs/software
/junos/junos82/swconfig82-servic
es/html/service-set-config.html

http://www.juniper.net/techpubs/software
/junos/junos82/swconfig82-servic
es/html/service-set-config2.html#1014436

thx
Harshit
 

-----Original Message-----
From: juniper-nsp-bouncespuck.nether.net
[mailto:juniper-nsp-bouncespuck.nether.net] On Behalf
Of O S
Sent: Wednesday, April 11, 2007 9:17 AM
To: juniper-nsppuck.nether.net
Subject: [j-nsp] "nat outside"

Hi,

I'm looking for a nat configuration example in juniper M7i. 
I follow
the book setup the
service:

nat {
    pool OUTIP {
        address 10.1.2.3/32;
        port automatic;
    }
    rule goOUT {
        match-direction output;
        term 1 {
            from {
                destination-address {
                    10.10.10.10/32;
                }
            }
            then {
                translated {
                    source-pool OUTIP;
                    translation-type source dynamic;
                }
            }
        }
    }
}
How do I apply the nat service to a interface (I failed to
find the
example from the book)?  
The router is
Model: m7i
JUNOS Base OS boot [8.0R2.8]
JUNOS Base OS Software Suite [8.0R2.8]
JUNOS Kernel Software Suite [8.0R2.8]
JUNOS Packet Forwarding Engine Support (M7i/M10i) [8.0R2.8]
JUNOS Routing Software Suite [8.0R2.8]
JUNOS Online Documentation [8.0R2.8]

Basically, I would like all packets from interface
fe-0/0/0.0 go to
server 
10.10.10.10 be nat-ed.

=> [all other interfaces M7i  fe-0/0/0.0] -->
10.10.10.10 where
fe-0/0/0.0 has IP 10.1.2.1/24

Thanks a lot,

OS




       
____________________________________________________________
____________
____________
Don't pick lemons.
See all the new 2007 cars at Yahoo! Autos.
http://autos.yah
oo.com/new_cars.html 
_______________________________________________
juniper-nsp mailing list juniper-nsppuck.nether.net

https://puck.nether.net/mailman/listinfo/juniper-nsp

_______________________________________________
juniper-nsp mailing list juniper-nsppuck.nether.net

https://puck.nether.net/mailman/listinfo/juniper-nsp

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )