Blogs Classifieds Downloads FlashChat Gallery Googlemap Invite Friends Links Projects Reviews Wiki
 


Welcome to the pSeries Tech Forums, our free peer-based support site for administrators, engineers and architects working with IBM pSeries servers and software.

You are currently viewing our site as a guest which gives you limited access to view most discussions, articles, tutorials and access our other free features. By joining our community you will be able to collaborate with administrators, engineers and architects charged with designing, delivering or maintaining IBM pSeries server environments.

Founded by a recognized IBM pSeries consultant and IBM Redbook author, pSeries Tech Forums was developed with the single mission of bringing IBM pSeries professionals together into a single self-help community.

Registration is fast, simple and absolutely free to all IT professionals with responsibility for or interest in IBM pSeries servers. We invite you to join our community today!

If you have any problems with the registration process or your account login, please contact contact support.

Our Sponsors
Want to advertise?  


Reply
 
LinkBack Thread Tools
  #1  
Old April 4th, 2008
cdelgadop's Avatar
cdelgadop Offline
Senior Member
 
Join Date: November 2006
Posts: 310
Send a message via MSN to cdelgadop
Problem defining a static route in AIX 5.3

Hi

I have a problem defining static routes at TCPIP level. I have a server running on a given ip network, let's say:

en0 10.0.1.1/24
default gateway 10.0.1.254

now we have defined a new ip interface with another ip:

en1 10.0.60.90/24

and want to connect to a server in 10.0.60.100. We want to create a static route so our packets going to 10.0.60.0/24 goes through en1 cause going through en0 will go to the core router.

We have added the following static route:

route add -net 10.0.60.0 -netmask 255.255.255.0 -interface 10.0.60.90

and tried the ftp, but packets are goign to the ent0 interface.

Could you please help me on this ?
__________________
cd3lgad0p
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2  
Old April 5th, 2008
niyas_gk's Avatar
niyas_gk Offline
Junior Member
 
Join Date: April 2008
Posts: 3
Re: Problem defining a static route in AIX 5.3

Hi..

Did u tried with smitty instead of command line ?

try smitty tcpip->further configuration->static routes->add a static route

you can see the command string by pressing esc+6 , actually its not a command its a script..
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3  
Old April 6th, 2008
purplemonkey's Avatar
purplemonkey Offline
Junior Member
 
Join Date: April 2008
Posts: 6
Re: Problem defining a static route in AIX 5.3

In your 'route add' command it doesn't seem like you have put in a gateway..

Something like this might work:

route add 10.0.60.0/24 <gateway for the 10.0.60.0 network>

I'm not sure if this is possible without a gateway in place, you would need to be quite strict on the netmask's used (255.255.255.0 or similar) if its possible..

This will not add the route permanently, for that you can use SMIT, chdev, or add the route add command into /etc/rc.net etc..

If you have no luck it might be helpful to paste the output from 'netstat -rn' here.

Hope this helps.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4  
Old April 6th, 2008
cdelgadop's Avatar
cdelgadop Offline
Senior Member
 
Join Date: November 2006
Posts: 310
Send a message via MSN to cdelgadop
Re: Problem defining a static route in AIX 5.3

Hi

Thanks for your answers. I have created the route entry either using smitty in order to modify the inet0 object as well as from commnad line using the route add command.

I think it's something to do with ICMP path discovery, i 'll try deactivating such PMTU settings
__________________
cd3lgad0p
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5  
Old April 7th, 2008
esanchezvela's Avatar
esanchezvela Offline
Junior Member
 
Join Date: January 2008
Posts: 6
Re: Problem defining a static route in AIX 5.3

did you modify the adapter's address with smit mktcpip or smit chinet? add the adapter's address with smitty mktcpip and use the same gateway as your default gateway, by default, AIX will use the most direct/specific route to any network address which will be en1 not the default gw.

best regards,
esv.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #6  
Old April 7th, 2008
cdelgadop's Avatar
cdelgadop Offline
Senior Member
 
Join Date: November 2006
Posts: 310
Send a message via MSN to cdelgadop
Re: Problem defining a static route in AIX 5.3

Hi

I solved the problem by setting the following to false:

tcp_pmtu_discover=0
udp_pmtu_discover=0

Those above control the path MTU discovery.
__________________
cd3lgad0p
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Bookmarks

These are the 100 most searched terms
Search Cloud
0042-001 0042-001 nim 0513-001 the system resource controller daemon is not active 0513-001 the system resource controller daemon is not active. 0514-061 0514-061 cannot find a child device 0514-061 cannot find a child device. 0516-787 0516-787 extendlv 0516-787 extendlv: maximum allocation for logical volume 110000ac aa00e1f3 aio aix aix aio aix freeware aixif_arp_dup_addr b150f22a b181fb53 ba010004 c1001020 d133c002 dacnone dcb47997 dlpar fcp_array_err6 fget_config gnu tar aix gsclvmd gtar aix hi yall hmc root password hmc vmware hscl05db ibm p6 ibm p6 520 libpopt aix libpopt.a libpopt.a(libpopt.so.0) is needed by rsync-2.6.2-1 migratelv mksysb navisphere agent nim server pseries pseriestech rsync aix sc_disk_err4 scan_error_chrp vio server websm xhost file ... powered by Simple Search Cloud


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
Powered by vbWiki Pro 1.3 RC5. Copyright ©2006-2007, NuHit, LLC

vBulletin Skin developed by: vBStyles.com


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48