How to configure static route on RHEL 3 A/S

I have a (very) large amount of data to move through a Gigabit connection
shortly. I want to use a newly-configured gigabit PCI-X card in a Dell
server to accomplish this. The other interfaces are 100 Mbps.
If I want to add a route (static route) to force outgoing packets that
are destined for a particular host to use that interface (eth3 on this host)
then how do I do that? System is RedHat Enterprise Linux 3AS.
I suspect this involved the "add route default" command or whatever
the syntax is -- I did it for Solaris years ago but don't remember
exactly.
$ Linux host1.localdomain 2.4.21-57.ELhugemem #1 SMP Fri Jun 13 00:09:04 EDT 2008 i686 i686 i386 GNU/Linux
$ ifconfig eth3
eth3 Link encap:Ethernet HWaddr 00:0A:5E:7A:E7:33
inet addr:10.156.30.176 Bcast:10.156.30.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:619971 errors:0 dropped:0 overruns:0 frame:0
TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:44019924 (41.9 Mb) TX bytes:256 (256.0 b)
Interrupt:24
Thanks in advance.

I agree. Using the /binroute command is not recommended for newbies, or even oldies. There is more infrastructure behind the scenes than just the routing table and using the "redhat-config-network" or "system-config-network" tool does the right thing, so you don't have to.
I mentioned it only for completeness.

Similar Messages

  • Configuring Static Route Tracking Using ASDM 7.1(3) ASA 9.1(2)

    I have recently updated my ASA5520 to 9.1(2) and I am using ASDM 7.1(3) to configure Static Route Tracking. I have done this previoussy in earlier version of ASDM without a problem.  There seems to be a new field in the Tracked Options section.  What is the "Target Interface"?  Is it the interface I want to use as the standby route when the Monitor fails? Or is it the Interface that is doing the monitoring?
    I have looked through Cisco ASA Series General Operations ASDM Configuration Guide Software Version 7.1, as well as older ASDM books and this field is never listed or described.

    Hi,
    The target interface will be the interface through which you will be polling some destination IP address with ICMP Echos to determine if the route through that interface is still valid.
    So in your case you would use "Outside"
    Heres the link to the ASA Command Reference listing the above "type" command under the "sla monitor 1" configuration
    http://www.cisco.com/en/US/docs/security/asa/command-reference/t2.html#wp1568359
    - Jouni

  • How can I configure static routes in a CUCM?

    Hi.
    I have seen that there is no-way to set static routes in a Call Manager but I have read that you can add static routes in the Linux that runs CUCM.
    If I do that, will I l lose the Cisco support for that server?
    I don't know why a Level 3 server (like a CUCM, Presence , Unity,...) doesn't permit routing configuration.
    Regards.
    Rafa

    Thanks for your answer, Jaime.
    That implies that we have to insert an intermediate router.
    I think that routing features should be implemented in Unified Comunications servers.
    Regards

  • Configuring static routes at the network edge

    We have some Cisco 1750 routers at the edge of our network which are running RIP. We were advised to use static routes on the router, since there was only one route (across a WAN link) for traffic to go from the hub connected to the router, as RIP would only waste the limited bandwidth to the router. We posted this problem previously and got a response which stated :You could set up a default static route on your edge router, run RIP on your internal routers in order to propagate the default, but block the RIP to the outside.
    On your edge router, make a default route to your external link. Keep RIP running as before, but add the line redistribute static in your rip configuration. That will get the default route propagated.
    Now to stop the RIP on the external interface: If the link is on a different major IP network to your internal network, you can simply not include it in the network commands under rip. But if it is in the same network, then RIP will be enabled on the interface, so you will have to add passive-interface xxxxx, where xxxxx refers to the interface carrying your external link,
    Alternatively, you could define your default route using the ip default-network command. This will get propagated automatically into the RIP even without the redistribute command.
    We tried it, the problem is that the router is unreachable, via the serial or Ethernet, although if connected to the router via console port, with the configuration screen , you are able to ping external locations, and are able to telnet into the router, but he PC's on the Ethernet side of the router cant see the network.
    Assistance\Advice requested.
    attached you wll find , the actual reply , and a copy of some info from our work file.

    Ernie
    I have looked at the config that you posted and I see several issues. The serial interface on Salvage is 172.20.2.2. Your message indicates that it is connected via serial to a 3640 which your message seems to indicate is 172.20.1.4. But that makes the 3640 on a different subnet. Connections over a serial link should be in the same subnet on both ends. (The exception to that is when you are using the ip unnumbered feature - which you are not). I suspect that part of your problem is that the routers do not see themselves on a connected subnet. When you run RIP over the link it can compensate for that to some degree. But when you stop RIP the problem has impact.
    Also I see that you have a static default route as Kevin suggested. And in RIP you have redistribute static. But there is no default metric defined. To redistribute into RIP you need a default metric. Another aspect of the problem with the default route is that the next hop for the default route is 172.20.1.4, but without RIP running I believe that Salvage has no idea how to get to that address. You can confirm this by doing show ip route 172.20.1.4 on Salvage. I suspect that you will get an error about route not in table.
    Beyond these issues I believe that there is a larger problem of misunderstanding. When I look at your original post in this thread it talks about not running RIP over the serial link. And when I read Kevin's response the first paragraph is describing not running RIP over the serial interface when it says do static default on your edge router and run RIP on your internal router. If you are not running RIP over the serial interface then I see no reason to run RIP on Salvage at all. There is one piece of this that Kevin did not address. If you do not run RIP over the serial link then how does the 3640 know about the Ethernet subnet at Salvage. I believe that the answer is that the 3640 needs to configure a static route to 172.20.27.0 with the 1750 serial interface as the next hop. And if there are other routers that the 3640 communicates with via RIP then the 3640 needs to redistribute static into RIP (remembering to have a default metric).
    If you address these issues I believe that you will have connectivity from the central network to the remote subnet on Salvage.
    HTH
    Rick

  • How to configure IGMP routing right?

    My server need to pass multicast UDP streams from physical NIC to a virtual NIC. Network layout is this: Ubuntu Server (ffmpeg) in Hyper-V <---> Windows Server (Wowza) <---> Multicast subnet.
    Here is what I've done: Enabled RRAS service. Added IGMP protocol to IPv4 routing. Added pNIC and vNIC as interfaces. pNIC is in Proxy mode, vNIC is in Router mode.
    That way I can at least see: 1) new records in IGMP group table when someone is requesting IGMP membership, 2) UDP packets flooding pNIC multicast interface when request from vNIC is received. However, I can't listen vNIC interface with Wireshark from guest
    or host by some reason so I don't know if packets are actually reaching the player on VM. I assume they aren't, because I can't play it with VLC or ingest the stream by ffmpeg (but who knows, maybe it just can't be played in Hyper-V?).
    If both interfaces are in IGMP router mode, no UDP traffic can be detected.
    The question is where exactly the problem is. That Router/Proxy layout I've did seems to be "one-way". But I think in theory it is possible that both subnets have their own multicasts, and both subnets can have different consumers to play all those
    multicast streams, so that Windows should route it correctly both ways.
    Did I configured IGMP routing on Windows Server correctly? Because I'm not really sure.
    Update:I tried to restream the udp-stream via VLC Player right into Ubuntu VM's interface. This way ffmpeg was able to catch something. It has another problems, though, but clearly is receiving some data now. So IGMP isn't configured right
    by me, right? Then the topic question is the actual question.

    Hi,
    To verify if the VM receives the multicast packet, please try to perform a network capture by using Network Monitor.
    To download Network Monitor, please click the link below,
    Microsoft Network Monitor 3.4 (archive)
    https://www.microsoft.com/en-hk/download/details.aspx?id=4865
    If the packets are revceived, it should be an software issue. Please check the settings of Ubuntu.
    If the packets are not received, due to it is more related to Hyper-V, to get better help, please post this question on the Hyper-V forum.
    Here is the address,
    https://social.technet.microsoft.com/Forums/windowsserver/en-US/home?forum=winserverhyperv
    Best Regards.
    Steven Lee Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • Configuring Static Routing

    Hi, I have some issues configuring my WRT54G in my business, I've already got 2 networks and i want to create a new one with my router.. The main network where all our servers are is the 192.168.1.0/24 (gateway 192.168.1.1), second network is 192.168.2.0/24 (gateway 192.168.2.1)
    What i want to do: Create the network 192.168.102.0/24 wich could communicate directly with the 192.168.2.0 network but 192.168.102.0 need to talk with the 192.168.1.0 network too. I guess i should connect the 192.168.2.0 in the Internet port, and the 192.168.102.0 in the Ethernet ports.
    How should i setup my router ?? Do i need to create Static Ip routes on my computer in the 192.168.102.0 network?? Thanks!
    Message Edited by Goyette on 12-10-2007 01:25 PM

    1}192.168.0.1/24
    2}192.168.0.2/24
    3}192.168.102.0/24 {want to create}
    The most important thing i want to know how the above two network are connected to each other. And which router you are using.
    Then we will move foward

  • How to configure the router using Expand box?

    I need help on configuring the Cisco routers.
    Here's the scenario...
    I want to compress as much all packets COMING IN to our network to optimize the bandwidth. When users from Lan accessing the internet, it goes out to our GW1 but I want the RETURN internet packets will go first to Expand 2 for compression then goes to Expand1 for decompression. Please see attached network diagram setup. All Expand appliances are already configured. Thanks.
    What configuration should be in GW1 and R2, both C2851?

    Hi Daniel,
    I configure it as PBR so that all www traffic will be pass to that tunnel. I want all www traffic from Area 1 to Area 2 (vice versa) will pass to IPComp Tunnel (see diagram below). I configure a policy based routing in each router. Did I miss something in router configuration? Did I apply the PBR in right interfaces? How can I configure also the returned www traffic in Router 2? I really appreciate for any response. Thank you.
    ROUTER 1
    interface GigabitEthernet0/0
      ip policy route-map EXPAND_AREA1
    route-map EXPAND_AREA1 permit 10
      description IPCOM TUNNEL TO AREA2
      match ip address EXPAND_ACL
      set ip next-hop A.A.A.2
    ip access-list extended EXPAND_ACL
      remark PACKETS THAT PASSES TO IPC TUNNEL
      permit tcp any any eq www
    ========================================
    ROUTER 2
    interface GigabitEthernet0/0
      ip policy route-map EXPAND_AREA2
    route-map EXPAND_AREA2 permit 10
      description IPCOM TUNNEL TO AREA1
      match ip address EXPAND_ACL
      set ip next-hop D.D.D.2
    ip access-list extended EXPAND_ACL
      remark PACKETS THAT PASSES TO IPC TUNNEL
      permit tcp any any eq www

  • How to configure static NAT on two internal interfaces?

    Cisco Adaptive Security Appliance Software Version 8.4(2)
    I need to NAT an IP from my VPN DMZ (192.168.100.26) to two different internal DMZs, DMZ-1 (10.3.255.15) and DMZ-2 (10.3.255.15). Resources in each of those DMZs need to get to that resource in the VPN DMZ.
    - NAT works from VPN-DMZ to DMZ-1
    - When I add the NAT config to go from VPN-DMZ to DMZ-2, it deletes the config going to DMZ-1.
    object network snat-10.3.255.15
    host 192.168.100.26
    object network snat-10.3.255.15
    nat (VPN,DMZ-1) static 10.3.255.15
    If I add the following, it removes it from DMZ-1
    object network snat-10.3.255.15
    nat (VPN,DMZ-2) static 10.3.255.15
    How can I keep the same IPs, but use it on two different internal interfaces on the firewall?

    I believe you have to create two objects. You can only have a single NAT statement per network object.
    object network snat-10.3.255.15-dmz1
    host 192.168.100.26
    object network snat-10.3.255.15-dmz1
    nat (VPN,DMZ-1) static 10.3.255.15
    object network snat-10.3.255.15-dmz2
    host 192.168.100.26
    object network snat-10.3.255.15-dmz2
    nat (VPN,DMZ-2) static 10.3.255.15

  • How to configure wrt54g router as an access point when connected to a 3Com switch

     I'm trying to use my linksys router as an access point to keep from having to make more network drops. I can't figure out which IP address/gateway to use on my router to get it to communicate with my switch. The 3Com switch address is 10.1.10.250, gateway is 10.1.10.1, netmask is 255,255,255,0.The linksys router has been reset to defaults.
    I know that it can be done but I'm having the hardest time making it work.

    For the DD-WRT firmware, you can try this link .
    For the price of your Acess Point you can try this link .

  • How to configure router in bridge mode

    Hi
    I have 2 cisco 2621 series routers to be configured in bridge mode.
    i'll be connecting this 2 routers using serial connection 128 lease line.
    the problem is im not sure how to configure this 2 routers in bridge mode.
    as far as i know, i need to issue the command no ip routing.
    is there anything else i need to do?
    can anyone guide me on how to configure
    the router in bridge mode? is there any support page for this is cisco website?
    thanks
    Jega

    Please check the link to the configuration guide below. It describes how to configure transparent bridging.
    http://www.cisco.com/en/US/products/sw/iosswrel/ps1831/products_configuration_guide_chapter09186a00800ca65a.html
    Regards,
    Leo

  • How to configure routing on site to site VPN(RV215W)

    Hi all
    I have set up a VPN between a RV215W and SRP521 (site to site)
    The VPN is up and connection is established on both side.
    However I cannot connect from one network to another (No ping, no connection)
    When I checked teh configuration, I noticed that route table on RV215W does not show any ipsec interface nor the route to the remote network
    Any hint how to configure this route over the VPN? Should I do it manually or is it a paramater to be made automaticaly?
    On the SRP215 the routing is as follow
    Destination LAN IP
    Subnet Mask
    Gateway
    Interface
    192.168.100.0
    255.255.255.0
    VLAN100
    192.168.15.0
    255.255.255.0
    VLAN1
    192.168.25.0
    255.255.255.0
    141.48.36.1
    ipsec0
    41.0.0.0
    255.0.0.0
    WAN1
    41.0.0.0
    255.0.0.0
    ipsec0
    0.0.0.0
    0.0.0.0
    141.48.36.1
    WAN1
    On the  SRP only local and WAN are displayed

    Hi,
    Don't worry about your English - it is good. I am not a native English speaker, either.
    You are correct - Cisco's IS-IS has no internal support for optional metrics. The only metric value that is going to be used in best path selection is the default metric. Regarding considerations about metrics in IS-IS, the only consideration I find important is that all new IS-IS deployments should use wide metrics. These can be activated using the metric-style wide in the router isis configuration. Wide metrics allow you to use a significantly wider metric range than the original IS-IS standard: 24 bits for interface metric, and 32 bits for total path metric. It is important to say that all L1 routers within an area, or all L2 routers in the domain must use the same metric type, either the classic (also called narrow) or the new wide metrics.
    Apart from that, there are no special considerations I am aware of. The choice of metric values for a particular interface is completely up to you. Of course you might want to configure lower metrics for faster interfaces (and vice versa), but what values you choose is up to you.
    Best regards,
    Peter

  • How to assign Static IP via Terminal in Mountain Lion OSX?

    I have formatted by Macbook Pro 13 inch (2009 Oct) running on Mountain Lion OSX. I am trying to install the OSX via Ethernet at office network but I am unable to do so due to network restrictions. Macbook Pro picks the IP automatically when connected over Ethernet.
    In order to install the OSX over the same network I have to configure the Macbook to static IP (public netowork). Could you please guide me how to configure Static IP via Terminal? I mean the commands to feed in Terminal. Thanks!

    First get a list of your network services:
    networksetup -listallnetworkservices
    Then use the desired service name in the following command:
    networksetup -setmanual SERVICE IP SUBNET ROUTER
    For example, by default the Wi-Fi connection will be called "Wi-Fi," so you can use the following to set it to a classic private IP address:
    networksetup -setmanual Wi-Fi 192.168.1.2 255.255.255.0 192.168.1.1
    To set it back to DHCP, use the following command:
    networksetup -setdhcp SERVICE
    To keep DHCP services but only use a manually designated IP address, then use the following command:
    networksetup -setmanualwithdhcprouter SERVICE IP
    You may need to preceede these commands with "sudo" (followed by a single space) to run them with administrative privileges.

  • Cisco RV180W Static Routing

    Hi folks.
    Just needing to find out how to implement static routing in my router.  I can't seem to get it to work.  
    I have an internal server that I want all of my requests to go to, and it has an internal IP of 192.168.1.7.  This router is 192.168.1.1, so it's pretty straight forward.  So I thought.  Also, can I break up various services to point to different machines?  Such as:
    Machine
    Ports
    192.168.1.21
    80, 443
    192.168.1.7
    25, 53, 110, 143, 995, 587
    Firmware is 1.0.5.4
    Any advice appreciated.  
    Cheers

    Hello,
    Thank you for the information and I'm sorry you are having issues with your device.
    I think your problem is related to the configuration you are using.
    First of all, go ahead and delete all the static routing and the port forwarding rules you have created as it will be better to start from zero.
    These are the requirements for this to work, make sure you met them:
    1- Check the WAN IP of the router and make sure it is the public IP address. If you don't have the public IP address then contact your ISP to get the modem on bridge mode.
    2- Make sure that the server you are trying to reach from the outside is using the IP address of the router as the default gateway
    3- Go to the firewall and then to access rules and create all the rules needed for your server (Check the attached screenshot). Here is a document showing how to create the rules:
    http://sbkb.cisco.com/CiscoSB/ukp.aspx?vw=1&docid=01ef2188693e42058388dbfe3311ea1f_Access_Rules_Configuration_on_Cisco_Small_Business_RV120W_Wi.xml&pid=2&respid=0&snid=7&dispid=0&cpage=search
    Keep in mind that this is everything that needs to be done to open the ports. When you create the access rules a matching port forwarding rule is created automatically.
    Please let us know if you have any questions

  • Static routes within VRF

    Is there a limit to the number of static route one could use within a VRF ?
    We have a large customer connected to MPLS VRF based backbone and due to various limiting factors this customer uses static routing from a PE-CE perspective.
    We have been experiencing a problem where a static needsto be removed and placed back as routing to a site stops (No traffic passed) , this happes intermittently and to different sites within diffrent regions as well. All the general or expected troubleshooting procedures have been followed i.e. Check routing table , bgp , CEF tables , FIB etc. All seems fine , the only thing that reloves this is removing the static and then replacing it.
    My thinking is that there might be a limit to the number of static's that one can use within a VRF and that we have reached the limit for this customer , which causes the intermittent failure.
    Please advise.

    I know of a "maximum routes limit " command to limit the number of routes in a Vrf on a PE.
    From this command reference i find there are no default values for this.
    http://www.cisco.com/univercd/cc/td/doc/product/software/ios122/122cgcr/fswtch_r/xrfscmd3.htm#1032272
    So I assume, the default is to allow a huge value and the only limitations would be the memory/capacity and the number of vrfs on the PE router.
    If you are experiencing a problem in this regard and removing a static route is helping to overcome it, then I would only suspect a bug here.
    I am also curious to know how may many static routes you have in this particular vrf.

  • SGE2000/P Static Routing (equals L2+) Explain?

    What does L2+ mean?  I realize these aren't L3 switches with SVI capabilities, so what is the purpose of configuring static routes if there is no InterVLAN routing capability?
    T.I.A.,
    Chris

    Welcome to Cisco Community!
    With out getting into a huge discussion I will try to answer as quickly and directly as possible.
    Our SFE and SGE series switches are Layer 3 switches (can also be configured as L2) so they are able to perform as a (inter VLAN) router or gateway for all VLANs. Once you have created the VLANs and assigned each an IP address, that IP address will become the GW for that VLAN. Under Routing you will not see any learned networks until you assign the VLAN to a port and the port becomes active. You will then need to configure a default route to send the traffic out to the cloud. The router will need to belong to the same VLAN as the switch. So if the switch has an IP address of 172.16.30.1/24, the router will have an IP of 172.16.30.254/24 for example. The route would read like this: 0.0.0.0/0 next hop 172.16.30.254 metric 2 (or higher).
    As for static routes as a L2 or L3 switch, they would be useful when you have a device attached to another switch which is disjoined from your typical network on the local switch. In other words, lets say you have 3 (aside from default native VLAN 1) VLANs V10 - 30. All you of your devices belong to these VLANs but you have a server on VLAN 30 which is not connected to this switch. You will then create a static route for that server's IP address to the remote switch.
    VLAN30: 172.16.30.1 (local SGE)
    Server: 172.16.30.200 (on remote switch)
    Remote Switch: 192.168.20.1 (remote SGE)
    VLAN30: 172.16.30.2 (on remote SGE)
    Static Route:
    destination 172.16.30.200 next hop 172.16.30.2 metric 2
    I hope this answers your question. These are really my favorite switches, as I find them very reliable and highly configurable. I love these things.

Maybe you are looking for

  • New ipod touch and 'from'........

    Just set up my son's iPod Touch.....of course, the device is under my name/account..... So,,,, if he sends a text, it appears to be coming from me, instead of from him --  can I fix it so that if he sends text from his device, it can show as from him

  • How can I insert a line that extends from a word without it affecting the formatting of the WHOLE document?

    I am trying to create a simple form for people to print out and fill in. I want fields like 'Name' with a line extending from the word for people to write on. What should be the simplest of tasks has confounded me for HOURS. Inserting a line as a 'sh

  • Failed to load jsp with jstl 1.0 when deployed to Weblogic 11g

    The same war is successfully run on weblogic 10.X but failed to run on weblogic 11.x JSTL version is 1.0 Compilation of JSP File failed: Exception occurred while processing '/u02/tech/product/otm620/otmapp/weblogic/domains/otm/servers/gc3-scdemo/tmp/

  • Probabally old question, but why can't I get Full Screen?

    Hi, I have the latest Quicktime, upgraded to Quicktime Pro...installed and registered but still no full screen. At Best I can few 3/4 screen. What do I need to do to fix? My old Windows Media was a true full screen....Is Apples? Thanks, Bill

  • Xilinx CIC+FIR compilers implementation problem

    Hi, we have been facing a problem for the last 2 weeks and I can't find a rational explanation. I think we could use inputs from Xilinx developpers / Vivado users. Here is the deal: I designed a down-sampling block made of the CIC compiler compensate