![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| IP Networking Learn TCP/IP, Internet Protocol, Routing, Routers, Network protocols in this UNIX and Linux forum. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| removing static route | pchangba1 | AIX | 1 | 04-24-2009 01:52 AM |
| permanently add static route | beaker457 | Red Hat | 1 | 04-17-2009 02:16 PM |
| Static Route | Arun.Kakarla | UNIX for Dummies Questions & Answers | 2 | 07-17-2008 08:07 AM |
| Static route for hpux 11.22 | catwomen | HP-UX | 2 | 10-10-2006 08:55 AM |
| static route ? | chaandana | IP Networking | 3 | 07-05-2005 02:05 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
When to use static route on server?
Hi guys,
sorry for asking noob question. When do we really need to add a static route on the server? I encounter this situation whereby a client trigger a network packet to the destination but the destination does not know how to return the traffic back to the client (source). The issue was resolved after adding a static route at the destination server. Ain't it suppose to be the gateway job to redirect traffic to other subnet gateways? Thanks in advance. |
|
|||||
|
Hello, I hope it's not too late. I thought I was going to go deeply into the network layers, and so on, but as always, wikipedia has better words than me and my poor English. Please read this short article and let us know if this is insufficient.
|
|
||||
|
Quote:
thanks for the link. However, it only mentioned to do it on the route. What about my case which happened to be a server? Thanks in advance. |
|
||||
|
Quote:
Your servers and hosts have routing tables which tell them where to send packets that *they* create, just like gateway devices use routing tables to forward other devices' traffic (and also for traffic the gateways create themselves). A gateway could forward a packet just fine, but if your server does not have a valid route, your server will never send the packet to the gateway in the first place. Type "ip route" at the command line to see the kernel IP routing table. The most common static route you'll have on a server or a client is the default route. A default route tells a host to send all packets that do not match any other routes to a particular destination. This saves you from setting static routes to every host or network you want your server to be able to reply to; it covers everything in one route table entry. To set a default route, you can use the command: ip route add default dev <interface> via <next hop IP address> |
| Sponsored Links | ||
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|