Solved

add route to external ftp server

Posted on 2004-11-01
2,978 Views
Last Modified: 2013-12-23
Hi, I'm unable to connect to an external ftp server from my hpux box. The default GW of the hp box is a layer 3 switch. From the hpux box i can telnet into the L3 switch and reach the ftp server. I've tried adding routes from the hpux box with no success.

route add destination gateway

 "Network unreachable"

 Any other suggeations?

Thanks
0
Question by:timothyking
    3 Comments
     
    LVL 20

    Accepted Solution

    by:
    route add  ftp.server.ip.address  gate.way.ip.address  1

    The "1" is important because it tells HP-UX it's an external device, _not_ one of it's own interface cards that is the gateway.  
    0
     
    LVL 38

    Expert Comment

    by:yuzh
    why not set the default gateway for your box, eg:

    /etc/route add default xx.xx.xx.xx

    # xx.xx.xx.xx is your router IP

    or edit /etc/rc.config.d/netconf:

            ROUTE_DESTINATION[0]="default"
            ROUTE_GATEWAY[0]="xx.xx.xx.xx"
             ROUTE_COUNT[0]="1"

    then run:
              # /sbin/rc2.d/S340net stop
              # /sbin/rc2.d/S340net start

    0
     
    LVL 38

    Expert Comment

    by:wesly_chen
    > The default GW of the hp box is a layer 3 switch
    Can you add the static route on the layer 3 switch?
    # iproute add <ftp.server.ip.address> <which switch port connected with ftp server or the firewall>

    Wesly
    0

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    IT Security CISA, CISSP & CISM Certification

    Master the advanced techniques required to protect network resources from external threats with the IT Cyber Security bundle. Built around industry best-practice guidelines, the IT Cyber Security bundle consists of three in-depth courses.

    Suggested Solutions

    I was recently sitting at a desk at work with one of my colleagues and needed some information on my home computer. He watched as I turned on my home computer, established a remote session into it, got the information I needed and then shut it down …
    Lets look at the default installation and configuration of FreeProxy 4.10 REQUIREMENTS 1. FreeProxy 4.10 Application - Can be downloaded here (http://www.handcraftedsoftware.org/index.php?page=download) 2. Ensure that you disable the windows fi…
    After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
    After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

    856 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    16 Experts available now in Live!

    Get 1:1 Help Now