1834761 Members
2789 Online
110070 Solutions
New Discussion

ftp

 
SOLVED
Go to solution
Rich Drollinger
Occasional Contributor

ftp

I have a client running HPUX 11.11 and they have 2 network cards configured each on separate networks. When they start and ftp session it is going out the seceondary NIC not the primary. I have checked the routing table, netconf, and host file entry but do not see anything mis-configured. Does anyone have any idea's on this. Thanks.
6 REPLIES 6
Victor BERRIDGE
Honored Contributor

Re: ftp

Hi,
You have 2 nice each on separate network, is that so?
What do you call secondary NIC?
I am at home now so cant check but I remember having to define for each a default gateway... Did you do that?


Just thoughts
All the best
Victor
Jeff_Traigle
Honored Contributor
Solution

Re: ftp

You can actually only have one default route on a system, but it does sound like you might be missing a net route that would allow the traffic to be properly sent through the other interface. A little difficult to determine without details of the configuration, however.
--
Jeff Traigle
Victor BERRIDGE
Honored Contributor

Re: ftp

Quite right Jeff, what I meant was the ROUTE_GATEWAY[X] in /etc/rc.config.d/netconf file...

All the best
Victor
Steven E. Protter
Exalted Contributor

Re: ftp

Shalom,


If each NIC has a proper gateway set this should not happen.

Check the netconf file and see if you have connectivity.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
David Bellamy
Respected Contributor

Re: ftp

Rich when you have 2 nic cards in a system if you don't define the default gateway or correct
route the nic cards will act as routers and route your packets across which everyone knows the shortest route. So if you have 2 different networks ex 192.168.0 and 192.167.0 and if you were ftping to a 192.167.0 site if will send the packets out through the secondary nic card
Rich Drollinger
Occasional Contributor

Re: ftp

What they have is a 10.6 for the lan0 and a 172.22 for lan2. They were supposed to add a host route for the 172 network of a 12.18.168.1 but added it with a b class subnet and the ftp site they were trying to get to through the 10.6 network was a 12.18.3.X address. They changed the 12.18 route and everything seems to be working fine. Thanks for the input.