Question

ssg5 router: need to route 3 IPs though to a 3 private IPs..

Asked by: robinkaty
I am not very good at this so I don't know if the problem is the IPs that I got from my isp. they didn't give me my own subnet, I am on a class-c subnet with 3 IPs 215, 216,218
I think that I should be using the SUB-if since I only have one interface to the router, which i setup with a mask of /32 since anything else would trip a subnet error.

thanks!!
Rob

unset key protection enable
set clock timezone 0
set vrouter trust-vr sharable
set vrouter "untrust-vr"
exit
set vrouter "trust-vr"
unset auto-route-export
exit
set service "realvnc" protocol tcp src-port 5901-5901 dst-port 5901-5901
set alg appleichat enable
unset alg appleichat re-assembly enable
set alg sctp enable
set auth-server "Local" id 0
set auth-server "Local" server-name "Local"
set auth default auth server "Local"
set auth radius accounting port 1646

set admin port 8000
set admin mail alert

set admin mail traffic-log
set admin auth web timeout 10
set admin auth dial-in timeout 3
set admin auth server "Local"
set admin format dos
set zone "Trust" vrouter "trust-vr"
set zone "Untrust" vrouter "trust-vr"
set zone "DMZ" vrouter "trust-vr"
set zone "VLAN" vrouter "trust-vr"
set zone id 100 "WIRELESS"
set zone "Untrust-Tun" vrouter "trust-vr"
set zone "Trust" tcp-rst
set zone "Untrust" block
unset zone "Untrust" tcp-rst
set zone "MGT" block
unset zone "V1-Trust" tcp-rst
unset zone "V1-Untrust" tcp-rst
set zone "DMZ" tcp-rst
unset zone "V1-DMZ" tcp-rst
unset zone "VLAN" tcp-rst
unset zone "WIRELESS" tcp-rst
set zone "Untrust" screen tear-drop
set zone "Untrust" screen syn-flood
set zone "Untrust" screen ping-death
set zone "Untrust" screen ip-filter-src
set zone "Untrust" screen land
set zone "V1-Untrust" screen tear-drop
set zone "V1-Untrust" screen syn-flood
set zone "V1-Untrust" screen ping-death
set zone "V1-Untrust" screen ip-filter-src
set zone "V1-Untrust" screen land
set interface "ethernet0/0" zone "Untrust"
set interface "ethernet0/0.1" zone "Untrust"
set interface "ethernet0/0.2" zone "Untrust"
set interface "ethernet0/1" zone "DMZ"
set interface "bgroup0" zone "Trust"
set interface "bgroup1" zone "WIRELESS"
set interface bgroup0 port ethernet0/2
set interface bgroup0 port ethernet0/3
set interface bgroup0 port ethernet0/4
set interface bgroup0 port ethernet0/5
set interface bgroup1 port ethernet0/6
unset interface vlan1 ip
set interface ethernet0/0 ip 255.70.162.215/32
set interface ethernet0/0 route
set interface ethernet0/0.1 ip 255.70.162.216/32
set interface ethernet0/0.1 route
set interface bgroup0 ip 10.20.0.1/24
set interface bgroup0 nat
set interface bgroup1 ip 192.168.1.1/24
set interface bgroup1 route
set interface ethernet0/0.1 mtu 1492
unset interface vlan1 bypass-others-ipsec
unset interface vlan1 bypass-non-ip
set interface ethernet0/0 ip manageable
unset interface ethernet0/0.1 ip manageable
set interface bgroup0 ip manageable
set interface bgroup1 ip manageable
set interface ethernet0/0 manage ping
set interface ethernet0/0 manage web
set interface ethernet0/0.1 manage ping
set interface ethernet0/0.1 manage web
set interface ethernet0/0.1 monitor track-ip ip
unset interface ethernet0/0.1 monitor track-ip dynamic
set interface ethernet0/0 vip interface-ip 80 "HTTP" 10.20.0.20
set interface ethernet0/0.1 vip interface-ip 80 "HTTP" 10.20.0.35
set interface bgroup1 dhcp server service
set interface bgroup1 dhcp server enable
set interface bgroup1 dhcp server option lease 1440000
set interface bgroup1 dhcp server option gateway 192.168.1.1
set interface bgroup1 dhcp server option netmask 255.255.255.0
set interface bgroup1 dhcp server option dns1 10.2.0.36
set interface bgroup1 dhcp server option dns2 10.2.0.26
set interface bgroup1 dhcp server option dns3 255.70.128.241
set interface bgroup1 dhcp server ip 192.168.1.100 to 192.168.1.150
unset interface bgroup1 dhcp server config next-server-ip
set interface "ethernet0/0.1" mip 255.70.162.216 host 10.20.0.35 netmask 255.255.255.255 vr "untrust-vr"
set interface "serial0/0" modem settings "USR" init "AT&F"
set interface "serial0/0" modem settings "USR" active
set interface "serial0/0" modem speed 115200
set interface "serial0/0" modem retry 3
set interface "serial0/0" modem interval 10
set interface "serial0/0" modem idle-time 10
set flow tcp-mss
unset flow no-tcp-seq-check
set flow tcp-syn-check
unset flow tcp-syn-bit-check
set flow reverse-route clear-text prefer
set flow reverse-route tunnel always
set pki authority default scep mode "auto"
set pki x509 default cert-path partial
set dns host dns1 0.0.0.0
set dns host dns2 0.0.0.0
set dns host dns3 0.0.0.0
set dns host schedule 06:28 interval 4
set address "Trust" "10.20.0.10/24" 10.20.0.10 255.255.255.0
set address "Trust" "10.20.0.20/255.255.255.0" 10.20.0.20 255.255.255.0
set address "Trust" "10.20.0.35/24" 10.20.0.35 255.255.255.0
set address "Trust" "10.20.0.5/255.255.255.0" 10.20.0.5 255.255.255.0
set address "Trust" "RobNet" 10.20.0.0 255.255.255.0
set address "Untrust" "255.70.162.216/24" 255.70.162.216 255.255.255.0
set address "Untrust" "DrSite" 10.100.0.0 255.255.255.0
set address "Untrust" "Houston private" 10.50.0.0 255.255.0.0
set address "Untrust" "HoustonDMZ" 10.12.0.0 255.255.255.0
set address "Untrust" "HoustonNet" 10.2.0.0 255.255.0.0
set crypto-policy
exit
set ike gateway "DrVPN" address 209.247.110.2 Main outgoing-interface "ethernet0/0" preshare "Smpu9vcnNx9leksQoOCibDrgHhnCb4BWacDdoK5PMyECP4M7PC2RNsA=" proposal "pre-g2-aes128-md5" "pre-g2-aes128-sha"
set ike gateway "HoustonVZN" address 63.97.65.194 Main outgoing-interface "ethernet0/0" preshare "/5fIJfhVNjQkIZsCWxCXMcIMOandkUH1ZrD0ni1Q2MS1G869X2H8yrU=" proposal "pre-g2-aes128-md5" "pre-g2-aes128-sha"
set ike respond-bad-spi 1
set ike ikev2 ike-sa-soft-lifetime 60
unset ike ikeid-enumeration
unset ike dos-protection
unset ipsec access-session enable
set ipsec access-session maximum 5000
set ipsec access-session upper-threshold 0
set ipsec access-session lower-threshold 0
set ipsec access-session dead-p2-sa-timeout 0
unset ipsec access-session log-error
unset ipsec access-session info-exch-connected
unset ipsec access-session use-error-log
set vpn "DRVPN" gateway "DrVPN" no-replay tunnel idletime 0 proposal "g2-esp-aes128-md5"  "g2-esp-aes128-sha"
set vpn "HoustonVZN" gateway "HoustonVZN" no-replay tunnel idletime 0 proposal "g2-esp-aes128-md5"  "g2-esp-aes128-sha"
set vrouter "untrust-vr"
exit
set vrouter "trust-vr"
exit
set url protocol websense
exit
set vpn "DRVPN" proxy-id local-ip 10.20.0.0/24 remote-ip 10.100.0.0/24 "ANY"
set policy id 15 name "webserver" from "Untrust" to "Trust"  "Any" "VIP(ethernet0/0.1)" "ANY" permit log
set policy id 15
set log session-init
exit
set policy id 14 from "Untrust" to "Trust"  "Any" "VIP(ethernet0/0)" "ANY" permit log
set policy id 14
set log session-init
exit
set policy id 10 from "Trust" to "WIRELESS"  "Any" "Any" "ANY" permit log
set policy id 10
exit
set policy id 9 from "Untrust" to "Trust"  "DrSite" "Any" "ANY" tunnel vpn "DRVPN" id 0x4 pair-policy 8 log
set policy id 9
exit
set policy id 8 from "Trust" to "Untrust"  "Any" "DrSite" "ANY" tunnel vpn "DRVPN" id 0x4 pair-policy 9 log
set policy id 8
exit
set policy id 7 from "Untrust" to "Trust"  "HoustonNet" "RobNet" "ANY" tunnel vpn "HoustonVZN" id 0x8 pair-policy 6 log
set policy id 7
exit
set policy id 6 from "Trust" to "Untrust"  "RobNet" "HoustonNet" "ANY" tunnel vpn "HoustonVZN" id 0x8 pair-policy 7 log
set policy id 6
exit
set policy id 5 from "Untrust" to "Trust"  "HoustonDMZ" "RobNet" "ANY" tunnel vpn "HoustonVZN" id 0x9 pair-policy 4 log
set policy id 5
exit
set policy id 4 from "Trust" to "Untrust"  "RobNet" "HoustonDMZ" "ANY" tunnel vpn "HoustonVZN" id 0x9 pair-policy 5 log
set policy id 4
exit
set policy id 3 from "Untrust" to "Trust"  "Houston private" "RobNet" "ANY" tunnel vpn "HoustonVZN" id 0xa pair-policy 2 log
set policy id 3
exit
set policy id 2 from "Trust" to "Untrust"  "RobNet" "Houston private" "ANY" tunnel vpn "HoustonVZN" id 0xa pair-policy 3 log
set policy id 2
exit
set policy id 1 from "Trust" to "Untrust"  "Any" "Any" "ANY" permit log
set policy id 1
exit
set policy id 13 from "Untrust" to "Trust"  "Any" "Any" "ANY" deny log
set policy id 13
exit
set nsmgmt bulkcli reboot-timeout 60
set ssh version v2
set config lock timeout 5
unset license-key auto-update
set snmp port listen 161
set snmp port trap 162
set vrouter "untrust-vr"
exit
set vrouter "trust-vr"
unset add-default-route
set route 0.0.0.0/0 interface ethernet0/0 gateway 255.70.162.254
exit
set vrouter "untrust-vr"
exit
set vrouter "trust-vr"
exit

This question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.

Subscribe now for full access to Experts Exchange and get

Instant Access to this Solution

  • Plus...
  • 30 Day FREE access, no risk, no obligation
  • Collaborate with the world's top tech experts
  • Unlimited access to our exclusive solution database
  • Never be left without tech help again

Subscribe Now

Asked On
2011-09-21 at 16:25:53ID27321207
Tags

router ssg5 juniper routing forwarding

Topics

Checkpoint Firewall

,

Network Routers

,

Network Software Firewalls

,

Networking Hardware Firewalls

Participating Experts
3
Points
500
Comments
9

Trusted by hundreds of thousands everyday for fast, accurate and reliable tech support.

  • "The time we save is the biggest benefit of Experts Exchange to Warner Bros. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange." Mike Kapnisakis, Warner Bros.
  • "Our team likes having a resource that is more secure than just using Google and most experts using this service really know their stuff. It's nice to look here first versus using Google." Dayna Sellner, Lockheed Martin
  • "Anytime that I've been stumped with a problem, 9 out of 10 times Experts Exchange has either the accepted solution or an open discussion of the potential solution to the problem." Kenny Red, eBay Inc.

See what Experts Exchange can do for you.

Got a question?

We've got the answer.

Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.

Screenshot of Experts Exchange Knowledgebase

Need individual assistance?

Our experts are ready to help.

If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.

Screenshot of Experts Exchange Knowledgebase

Want to learn from the best?

Read articles from industry experts.

Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.

Screenshot of an Article

Working on a long term project?

Store your work and research.

Save solutions to your questions, answers you’ve discovered through searching plus helpful articles in your personal knowledgebase for easy future access.

Screenshot of Experts Exchange Knowledgebase

Access the answers to your technology questions today.

Subscribe Now

30-day free trial. Register in 60 seconds.

What makes Experts Exchange unique?

Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Trusted by the world's most respected brands.

image of each brand's logo

Faithfully serving IT professionals since 1996.

Experts Exchange Logo

Try it out and discover for yourself.

Subscribe Now

30-day free trial. Register in 60 seconds.

Related Solutions

  1. Help with IPSec
    Hello Experts: I have a question concerning the establishment of an IPSec tunnel between a central office and a remote office. The main office has a Cayman DSL Router, which, with a software upgrade, can support IPSec tunnelling (Safe Harbour is the name of the software). ...
  2. pkgadd for SSH and ipsec howto
    We have a machine that does not have ssh or ipsec and it runs solaris 9. I need to FTP the files to the machine and then install them. The problem is that I can not find the .tgz files on the solaris 9 CDs. What files will I need ( names ).
  3. VPN or SSH Tunnel for routing traffic
    I'm currently using an SSH tunnel to connect to a Squid HTTP proxy running on a remote machine. I've configured my browser to use the ssh tunnel/proxy except while connecting to addresses on the local network. I'd like to make this more robust and tunnel all my traffic throu...
  4. GRE/IPSEC Tunnel Routing Problem
    I have setup these two CISCO 861 routers with a GRE over IPSEC tunnel and can get to IPs on the 192.168.102.0 network but I cannot get to any IPs on the 192.168.100.0 network. I have attached the two router logs - any help will be extremely appreciated. I have removed some of...
  5. pix and router ipsec vpn
    Hi, Ive an IPSEC tunnel b/w PIX and a router ... Can you please suggest why its not establishing the tunnel ? Router and PIX are directly connected...Given below is the code:

Free Tech Articles

  1. WARNING: 5 Reasons why you should NEVER fix a computer for free.
    It is in our nature to love the puzzle. We are obsessed. The lot of us. We love puzzles. We love the challenge. We thrive on finding the answer. We hate disarray. It bothers us deep in our soul. W...
  2. SCCM OSD Basic troubleshooting
    SCCM 2007 OSD is a fantastic way to deploy operating systems, however, like most things SCCM issues can sometimes be difficult to resolve due to the sheer volume of logs to sift through and the dispe...
  3. Migrate Small Business Server 2003 to Exchange 2010 and Windows 2008 R2
    This guide is intended to provide step by step instructions on how to migrate from Small Business Server 2003 to Windows 2008 R2 with Exchange 2010. For this migration to work you will need the fo...
  4. Create a Win7 Gadget
    This article shows you how to create a simple "Gadget" -- a sort of mini-application supported by Windows 7 and Vista. Gadgets can be dropped anywhere on the desktop to provide instant information, ...
  5. Outlook continually prompting for username and password
    There have been a lot of questions recently regarding Outlook prompting for a username and password whilst using Exchange 2007. There are a few reasons why this would happen and I will try to cover t...
  6. Backup Exchange 2010 Information Store using Windows Backup
    There seems to be quite a lot of confusion around the ability to backup Exchange 2010 using the built in Windows Backup feature. This stems from the omission of this feature prior to Exchange 2007 s...

Cloud Class Webinars

  1. Avoiding Bugs in Microsoft Access
    Alison Balter takes and in-depth look at avoiding bugs in Access. In this webinar you will learn about using the immediate window to debug your applications, invoking the debugger, using breakpoints to troubleshoot, stepping through code, setting the next statement to execute, ...
  2. Top 10 Best New Features in Visio 2010
    Scott Helmers gives live demonstrations of the top 10 new features in Visio 2010. This webinar will teach you how to create compelling diagrams by adding shapes to the page with a single click, linking the shapes in a diagram to data in Excel (or SQL Server, or SharePoint), ...
  3. IT Consultant Business Secrets Revealed
    Michael Munger, Experts Exchange tech pro and IT consultant, pulls back the curtain on his very successful businesses and answers question on every IT consultant and business owner should know about. He shares secrets on what he did to solve the 5 most common problems in IT, ...
  4. Disaster Recovery and Business Continuity
    Quest CTO, Mike Billon, gives an overview of the steps involved in building a dynamic disaster recovery plan. Through case studies and an examination of software/hardware tools for monitoring and testing, you'll gain a better understanding of where you are, where you want ...
  5. Organize Your Visio Diagrams with Containers and Lists
    Scott Helmers uses cross functional flowcharts, wireframe diagrams, data graphic legends and seating charts to teach you: how to utilize all three new structured diagram components in Visio 2010, the best practices for organizing shapes in previous version of Visio, how to organize ...
  6. How to Use Objects, Properties, Events and Methods in Microsoft Access
    Alison Dalter gives an in-depth look at objects, properties, events and methods in Microsoft Access. In this webinar you will learn about using the object browser, referring to objects, working with properties and methods, working with object variables, understanding the ...

Join the Community

Give a little. Get a lot.

Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.

Join the Community

20120131-EE-VQP-001

3 Ways to Join

30-Day Free Trial

The Experts

98% positive feedback on 31,087 answers since March 2000. angeliii is a Microsoft Most Valuable Professional for his work with MS SQL Server & Development.

He has also proven his knowledge of Visual Basic Programming, PHP Scripting and Oracle Databases.

The Experts

97% positive feedback on 10,752 answers since July 2000. lrmoore has more than 18 years experience in the networking industry.

The six-time Microsoft MVPs specialties include firewalls, virtual private networking, and network management.

Testimonials

"...an excellent source for support... Kind of like having your very own IT dept." Electriciansnet

Testimonials

"I was apprehensive at signing up at first. However... it has already made my life as an IT administrator much easier." JaCrews

Testimonials

"WOW! You guys have great, active, and knowledgeable people on here." moore50

Business Clients

Business Clients

In the Press

"If you’ve got a question... Experts Exchange can supply an answer.”

In the Press

"...an invaluable aid for both IT professionals and those who require tech support."

In the Press

"where IT professionals provide quick answers on just about any topic"

Business Account Plans

Loading Advertisement...