Help with a simple routing Issue
Hi Everyone,
The linux server has two ethernet adapters eth0 and eth1 and both of them have IPs on it. I am using eth0 for all traffic. I want to use the eth1 ONLY for the TSM server backup. So for that i added a static route as follows: Code:
route add -net <TSM Servers IP> netmask 255.255.255.255 dev eth1 |
You don't tell us the details about your networks. Assuming that the
network for eth0 does not overlap with the network for eth1 and assuming that eth1 is on the same network as the TSM Server, you don't need to add a route. Try removing the route you added and see if you can ping the TSM Server. If you can't, post the output of "route -n". |
Hi Carltm, Thank you for replying
when i am pinging the TSM server from my server without the static route its pinging perfectly fine. But its using the default interface eth0. I want to use the backup interface that is eth1 when connecting to the TSM server.(I have setup different ips on both eth0 and eth1). As its weekend already i cant go to the office so i will paste the output of route -n on Monday. Thank you. |
Hi,
Give us the output from ifconfig and route from both boxes. i.e. all status for all 4 ports that are involved. The output of ethtool or mii-tool (you should have one of the two) would not go amiss either. Cheers Pete |
Quote:
Open 2 connections to linux server on 1 of the connections run tcpdump host <ip of TSM> (or just tcpdump but that will have alot of traffic info) on the 2nd send a ping to TSM and watch for the traffic to show up on your first connection. |
Hi Guys I am Sorry, according to my company policies, i was not given permission to copy paste any outputs which might have ip information, but before adding the route i was able to ping from A to B , and also B to A. But after adding the route i can neither ping from A to B nor B to A
. Below are the outputs: [root@linuxserver ~]# ethtool eth0 Settings for eth0: Link detected: yes [root@linuxserver ~]# ethtool eth1 Settings for eth1: Supported ports: [ FIBRE ] Supported link modes: 1000baseT/Full 2500baseX/Full Supports auto-negotiation: Yes Advertised link modes: 1000baseT/Full 2500baseX/Full Advertised auto-negotiation: No Speed: Unknown! Duplex: Unknown! (255) Port: FIBRE PHYAD: 2 Transceiver: internal Auto-negotiation: on Supports Wake-on: g Wake-on: g Link detected: no [root@linuxserver ~]# mii-tool SIOCGMIIPHY on 'eth0' failed: Operation not supported eth1: 10 Mbit, half duplex, no link SIOCGMIIPHY on 'eth2' failed: Resource temporarily unavailable SIOCGMIIPHY on 'eth3' failed: Resource temporarily unavailable [root@linuxserver ~]# Below are the outputs from the TSM server which is an AIX server: root@tsmserver:/>lsattr -El ent1 alt_addr 0x000000000000 Alternate ethernet address True busintr 196696 Bus interrupt level False busmem 0xc0100000 Bus memory address False chksum_offload yes Enable hardware transmit and receive checksum True compat_mode no Gigabit Backward compatability True copy_bytes 2048 Copy packet if this many or less bytes True delay_open no Enable delay of open until link state is known True failback yes Enable auto failback to primary True failback_delay 15 Failback to primary delay timer True failover disable Enable failover mode True flow_ctrl yes Enable Transmit and Receive Flow Control True intr_priority 3 Interrupt priority False intr_rate 10000 Max rate of interrupts generated by adapter True jumbo_frames yes Transmit jumbo frames True large_send yes Enable hardware TX TCP resegmentation True media_speed 1000_Full_Duplex Media speed True rom_mem 0xc0040000 ROM memory address False rx_hog 1000 Max rcv buffers processed per rcv interrupt True rxbuf_pool_sz 2048 Rcv buffer pool, make 2X rxdesc_que_sz True rxdesc_que_sz 1024 Rcv descriptor queue size True slih_hog 10 Max Interrupt events processed per interrupt True tx_que_sz 8192 Software transmit queue size True txdesc_que_sz 512 TX descriptor queue size True use_alt_addr no Enable alternate ethernet address True root@tsmserver:/>lsattr -El en1 alias4 IPv4 Alias including Subnet Mask True alias6 IPv6 Alias including Prefix Length True arp on Address Resolution Protocol (ARP) True authority Authorized Users True broadcast Broadcast Address True mtu 9000 Maximum IP Packet Size for This Device True netaddr xx.xx.xx.xx Internet Address True netaddr6 IPv6 Internet Address True netmask 255.255.252.0 Subnet Mask True prefixlen Prefix Length for IPv6 Internet Address True remmtu 576 Maximum IP Packet Size for REMOTE Networks True rfc1323 Enable/Disable TCP RFC 1323 Window Scaling True security none Security Level True state up Current Interface Status True tcp_mssdflt Set TCP Maximum Segment Size True tcp_nodelay Enable/Disable TCP_NODELAY Option True tcp_recvspace Set Socket Buffer Space for Receiving True tcp_sendspace Set Socket Buffer Space for Sending True |
All times are GMT -5. The time now is 02:15 AM. |