JuniperForum.com
July 29, 2010, 07:51:29 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: If you have an interesting idea for an article or knowledgebase entry, please submit it!
 
  Home Help Login Register  
* *
Pages: [1]
  Print  
Author Topic: Netscreen 5xp  (Read 695 times)
timeshadowrider
Newbie
*
Posts: 12


View Profile
« on: March 10, 2010, 01:51:39 AM »

Hi,

I have an old netscreen 5xp that I cant get to access the internet.

FYI - I'm not a network admin

if Anyone has a working config that they could post that would be Great!!

This is what the wizard set up....

set zone "Trust" vrouter "trust-vr"
set zone "Untrust" vrouter "trust-vr"
set zone "VLAN" vrouter "trust-vr"
set zone "Trust" tcp-rst
set zone "Untrust" block
unset zone "Untrust" tcp-rst
set zone "MGT" block
set zone "VLAN" block
set zone "VLAN" 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 "trust" zone "Trust"
set interface "untrust" zone "Untrust"
unset interface vlan1 ip
set interface trust ip 192.168.2.1/24
set interface trust nat
set interface untrust ip 67.170.189.130/22
set interface untrust route
unset interface vlan1 bypass-others-ipsec
unset interface vlan1 bypass-non-ip
set interface trust ip manageable
set interface untrust ip manageable
set interface trust dhcp server service
set interface trust dhcp server enable
set interface trust dhcp server option gateway 192.168.2.1
set interface trust dhcp server option netmask 255.255.255.0
set interface trust dhcp server option domainname hsd1.wa.comcast.net.
set interface trust dhcp server option dns1 68.87.69.150
set interface trust dhcp server option dns2 68.87.85.102
set interface trust dhcp server ip 192.168.2.10 to 192.168.2.126
set interface untrust dhcp-client enable
set interface trust dip 4 192.168.2.10 192.168.2.100
set flow tcp-mss
set domain hsd1.wa.comcast.net.
set hostname ns5xp
set dns host dns1 68.87.69.150
set dns host dns2 68.87.85.102
set ike respond-bad-spi 1
set pki authority default scep mode "auto"
set pki x509 default cert-path partial
set policy id 3 from "Untrust" to "Trust"  "Any" "Any" "ANY" nat src dip-id 4 permit
set policy id 1 from "Trust" to "Untrust"  "Any" "Any" "ANY" nat src dip-id 4 permit traffic gbw 10000 priority 7 mbw 10000
set ssh version v2
set config lock timeout 5
set snmp port listen 161
set snmp port trap 162
set vrouter "untrust-vr"
exit
set vrouter "trust-vr"
unset add-default-route
exit
Logged
marty
Sr. Member
****
Posts: 269


View Profile
« Reply #1 on: March 10, 2010, 03:34:47 AM »

Your trust interface is already in NAT mode why are you again doing a NAT Src in the Trust to Untrust policy ?

From the device are you able to ping the internet any ip on the internet ?

Hope the routing is fine on the device.
Logged

Marty
timeshadowrider
Newbie
*
Posts: 12


View Profile
« Reply #2 on: March 10, 2010, 11:51:22 AM »

I dont know about the ping I can check that later today, but with IE google will not load and MSN Messenger does not login automaticly. I would not think it would be a DNS issues sine in the gui its pulling the DNS from Comcast. I was thinking that its not routing from Trust to Untrust.
Logged
timeshadowrider
Newbie
*
Posts: 12


View Profile
« Reply #3 on: March 10, 2010, 02:54:50 PM »

I just did a ping test from the cmd line in windows and the response is:

ping request could not find host www.google.com
Logged
timeshadowrider
Newbie
*
Posts: 12


View Profile
« Reply #4 on: March 10, 2010, 02:58:35 PM »

just did a tracert and the response is the same for the most part:

unable to resolve target system name www.google.com
Logged
timeshadowrider
Newbie
*
Posts: 12


View Profile
« Reply #5 on: March 10, 2010, 03:11:08 PM »

Its like I have no gateway:

IP/Netmask              Gateway            Interface     Protocol           Metric Vsys Configure
* 192.168.2.0/24        0.0.0.0               trust              C               0            Root  -
* 10.0.0.0/24             0.0.0.0              untrust            C             0             Root  -
* 0.0.0.0/0               10.0.0.1               untrust            C           1             Root  -
Logged
marty
Sr. Member
****
Posts: 269


View Profile
« Reply #6 on: March 11, 2010, 12:20:06 PM »

You pinged the hostnames try pinging an IP from the NetScreen, instead of google.com try pinging the IP address from NS, you cant ping a hostname from the NS.

Also did you try removing the NAT Src from the trust to untrust policy ?
Logged

Marty
timeshadowrider
Newbie
*
Posts: 12


View Profile
« Reply #7 on: March 11, 2010, 02:05:27 PM »

I did remove the Nat and its still not letting me connect.
Logged
timeshadowrider
Newbie
*
Posts: 12


View Profile
« Reply #8 on: March 11, 2010, 09:49:06 PM »

I purchased a console cable and I was able to ping from the device. pinged 4.2.2.1 and it came back 100% so if I have internet on the untrust how do I get it to the trust connection...

Is there a sample config that I can use? I have been trying the setup guide but it does not match the gui
Logged
timeshadowrider
Newbie
*
Posts: 12


View Profile
« Reply #9 on: March 11, 2010, 11:36:57 PM »

dont know what I did, but I got it working
Logged
marty
Sr. Member
****
Posts: 269


View Profile
« Reply #10 on: March 13, 2010, 06:16:31 AM »

Ok good to know it worked now...but strange enough we do not know what made it work...hope there was not a cabling issue or some issue from your ISP side.
Logged

Marty
carthman
Jr. Member
**
Posts: 82


View Profile
« Reply #11 on: March 17, 2010, 08:54:05 AM »

I suspect the "set zone Untrust block" in the config is what caused the issue.

If you do a "get zone untrust" you should be able to see if it is still enabled or not.
Logged
mindwise
Sr. Member
****
Posts: 253


View Profile
« Reply #12 on: March 17, 2010, 03:08:39 PM »

Well, you sorted it already, good stuff.....
some (late) notes Smiley

I suspect the "set zone Untrust block" in the config is what caused the issue.

If you do a "get zone untrust" you should be able to see if it is still enabled or not.

The untrust zone has the 'block' option on by default, and since he's going from trust to untrust, it's irrelevant (or should be Smiley)

The dip id used in the policy ID 1 cannot be correct since the egress interface for that policy is the untrust one, and the dip is on the trust interface. -> remove that dip from the policy, replace with "none, use interface ip" (or s'thing that sounds simmilar.

Also, your guarenteed and max bandwidth are equal, i'd start of by removing those settings too.
Let's get internet working first, you can always brake it by adding fancy stuff later Smiley

============

you cant ping a hostname from the NS.
(hostname = fqdn in this case (www.google.com)).

?
Sure you can......
www-> ping www.google.com count 20 from eth2
Type escape sequence to abort

Sending 20, 100-byte ICMP Echos to www.google.com [66.102.13.99], timeout is 1 seconds from ethernet2
!!!!!!!!!!!!!!!!!!!!

However, timeshadowrider was pinging from a cmd box, not from a telnet session to the netscreen Smiley
Logged
Pages: [1]
  Print  
 
Jump to:  

Navigation

Donate

Please consider donating if we've saved you time or money. It helps pay for the bandwidth, equipment, and hosting charges to keep this site running

Tools

Submit Article/KB - Do not submit questions here.

Recent

Stats

Members
Stats
  • Total Posts: 39593
  • Total Topics: 10459
  • Online Today: 72
  • Online Ever: 393
  • (August 06, 2008, 07:40:57 AM)
Users Online
Users: 1
Guests: 29
Total: 30
TinyPortal v1.0 beta 4 © Bloc
Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!

Sponsored in part by CollarWise

Page created in 0.23 seconds with 36 queries.