Hot Downloads

Welcome, Guest
Username: Password: Remember me

TOPIC: Two Gateways

Two Gateways 11 years 11 months ago #14758

  • alerizwe
  • alerizwe's Avatar
  • Offline
  • New Member
  • Posts: 8
  • Karma: 0
i have a machine with two NIC .
One has ip with gateway
Other has ip with gateway
how can i configure my route such that my network traffic is routed
to the concerned gateway.
I am using Fedora Core 3.
The administrator has disabled public write access.

Re: Two Gateways 11 years 11 months ago #14775

  • nske
  • nske's Avatar
  • Offline
  • Expert Member
  • Posts: 613
  • Karma: 0
The utility to edit the routing table is "route". You can check it's syntax through "man route". For the specific occasion, you would execute something like the following (using the appropriate network masks):
[code:1]route add -net netmask gw[/code:1]
[code:1]route add -net netmask gw[/code:1]

Keep in mind that routing table lies in memory, so the above need to be executed after every system boot. Redhat/Fedora provide a facility specifically to automate this, which should lie somewhere under /etc/sysconfig, or if no boot services rely on communicating with remote networks, you could just add the commands to /etc/rc.local (which is executed in the very end of al init scripts).
The administrator has disabled public write access.
Time to create page: 0.125 seconds


Cisco Routers

  • SSL WebVPN
  • Securing Routers
  • Policy Based Routing
  • Router on-a-Stick

VPN Security

  • Understand DMVPN
  • GRE/IPSec Configuration
  • Site-to-Site IPSec VPN
  • IPSec Modes

Cisco Help

  • VPN Client Windows 8
  • VPN Client Windows 7
  • CCP Display Problem
  • Cisco Support App.

Windows 2012

  • New Features
  • Licensing
  • Hyper-V / VDI
  • Install Hyper-V


  • File Permissions
  • Webmin
  • Groups - Users
  • Samba Setup