Forum Discussion

Harshal_Patil_3's avatar
Harshal_Patil_3
Icon for Nimbostratus rankNimbostratus
Oct 20, 2018

Static route gateway <ip_address> is not directly connected via an interface</ip_address>

I am also facing same issue even I have configured self IP address in respective non-default route domain in the command partition. but still getting same error. Also I have seen that the traffic initiated form self IP address

 

Ping -i self_IP_address destination network

 

3 Replies

  • Smithy's avatar
    Smithy
    Icon for Cirrostratus rankCirrostratus

    Hi Harshal

    What does:

    "list net self" and "list net route" show?

    e.g:

     list net self
    
    net self bigip_int_self {
        address 10.1.20.245/24
        traffic-group traffic-group-local-only
        vlan bigip_int_vlan
    }
    net self bigip_ext_self {
        address 10.1.10.245/24
        traffic-group traffic-group-local-only
        vlan bigip_ext_vlan
    }
    net self app_server_self {
        address 10.1.30.245/24
        traffic-group traffic-group-local-only
        vlan app_server_vlan
    }
    
    
     list net route
    
    net route default_route {
        gw 10.1.10.254
        mtu 1500
        network default
    }
    

    The gateway must be directly connected to an interface/vlan/self IP.

    Cheers,

    Brett

  • it shows correct IP and Netmask

     

    net self HA { address 192.168.11.163/24 allow-service { default } traffic-group traffic-group-local-only vlan HA } net self INTERNET_WEBDMZ_LTM_Local { address 10.2.48.3%3/23 allow-service { default } traffic-group traffic-group-local-only vlan INTERNET_WEB_DMZ } net self INTERNET_APPDMZ_LTM_Local { address 10.2.50.3%4/23 allow-service { default } traffic-group traffic-group-local-only vlan INTERNET_APP_DMZ } net self DMZ_LTM-DMZ_NSX_Local { address 10.2.35.235/29 allow-service { default } traffic-group traffic-group-local-only vlan DMZ_LTM-DMZ_NSX } net self DMZ_LTM-DMZ_NSX_Floating { address 10.2.35.234/29 allow-service { default } floating enabled traffic-group traffic-group-1 unit 1 vlan DMZ_LTM-DMZ_NSX } net self INTERNET_WEBDMZ_LTM_Floating { address 10.2.48.2%3/23 allow-service { default } floating enabled traffic-group traffic-group-1 unit 1 vlan INTERNET_WEB_DMZ } net self INTERNET_APPDMZ_LTM_Floating { address 10.2.50.2%4/23 allow-service { default } floating enabled traffic-group traffic-group-1 unit 1 vlan INTERNET_APP_DMZ }

     

    Show net route

    Net::Routes

     

    Name Destination Type NextHop Origin

    10.2.35.232/29 10.2.35.232/29 interface /Common/DMZ_LTM-DMZ_NSX connected 10.2.48.0%3/23 10.2.48.0%3/23 interface /Common/INTERNET_WEB_DMZ connected 10.2.50.0%4/23 10.2.50.0%4/23 interface /Common/INTERNET_APP_DMZ connected 127.1.1.0%3/24 127.1.1.0%3/24 interface tmm%3 connected 127.1.1.0%4/24 127.1.1.0%4/24 interface tmm%4 connected 127.20.0.0/16 127.20.0.0/16 interface tmm_bp connected 192.168.11.0/24 192.168.11.0/24 interface /Common/HA connected 127.1.1.0/24 127.1.1.0/24 interface tmm connected ff02:3c3::/64 ff02:3c3::/64 interface /Common/DMZ_LTM-DMZ_NSX connected fe80::%vlan963/64 fe80::%vlan963/64 interface /Common/DMZ_LTM-DMZ_NSX connected ff02:0:28ac::%3/64 ff02:0:28ac::%3/64 interface /Common/INTERNET_WEB_DMZ connected fe80:0:28ac::%3/64 fe80:0:28ac::%3/64 interface /Common/INTERNET_WEB_DMZ connected ff02::%3/64 ff02::%3/64 interface tmm%3 connected fe80::%3/64 fe80::%3/64 interface tmm%3 connected ff02:0:23ac::%4/64 ff02:0:23ac::%4/64 interface /Common/INTERNET_APP_DMZ connected fe80:0:23ac::%4/64 fe80:0:23ac::%4/64 interface /Common/INTERNET_APP_DMZ connected ff02::%4/64 ff02::%4/64 interface tmm%4 connected fe80::%4/64 fe80::%4/64 interface tmm%4 connected ff02:fff::/64 ff02:fff::/64 interface tmm_bp connected fe80::%vlan4095/64 fe80::%vlan4095/64 interface tmm_bp connected fe80::/64 fe80::/64 interface /Common/socks-tunnel connected fe80::/64 fe80::/64 interface /Common/http-tunnel connected fe80::%vlan4095/64 fe80::%vlan4095/64 interface /Common/tmm_bp connected ff02:ffe::/64 ff02:ffe::/64 interface /Common/HA connected fe80::%vlan4094/64 fe80::%vlan4094/64 interface /Common/HA connected ff02:fff::/64 ff02:fff::/64 interface /Common/tmm_bp connected ff02::/64 ff02::/64 interface tmm connected fe80::/64 fe80::/64 interface tmm connected

     

  • When you want to create a route in a route domain, don’t forget the route domain id in both destination and gateway

     

    For example, default gateway in rd 4 may be configure like

     

    • destination 0.0.0.0%4
    • netmask 0.0.0.0
    • gateway 10.2.50.1%4