Quantcast
Channel: SRX Services Gateway topics
Viewing all articles
Browse latest Browse all 3959

configuring dual internet uplink with BFD traffic on both inet interfaces

$
0
0
 
 Hello Everyone,

I am a total newbie to the SRX world.

I have a few problems with a very custom configuration that I am trying out for the first time.

We have Nuage network SD-WAN redundancy group configured to give out DHCP addresses on 10.10.3.0/24 subnet.

Although I configured a policy to allow all traffic between the 2 interfaces in WAN zone , my BFD traffic is not passing from 1 interface to the other.


Both my NSGs are setup to exchange BFD traffic via VLAN 500 on the interfaces connected to the SRX but Althought I have enabled VLAN tagging on the ge-0/0/0.0 and ge-0/0/1.0, I cannot get the BFD heartbeat to be passed between the 2 interfaces
Any advice would be appreciated , Thanks !
Here is a copy of my configuration :
 
The current configuration running on the device
## Last changed: 2018-10-05 19:35:18 EDT
version 10.0R1.8;

    name-server {
        8.8.8.8;
        1.1.1.1;
    }
    services {
        ssh;
        telnet;
        web-management {
            http;
            https {
                system-generated-certificate;
                interface vlan.0;
            }
        }
        dhcp {
            router {
                192.168.1.1;
            }
            pool 192.168.1.0/24 {
                address-range low 192.168.1.2 high 192.168.1.254;
            }
            propagate-settings fe-0/0/2.0;
        }
    }
    syslog {
        archive size 100k files 3;
        user * {
            any emergency;
        }
        file messages {
            any critical;
            authorization info;
        }
        file interactive-commands {
            interactive-commands error;
        }
    }
    max-configurations-on-flash 5;
    max-configuration-rollbacks 5;
    license {
        autoupdate {
            url https://ae1.juniper.net/junos/key_retrieval;
        }
    }
}
interfaces {
    interface-range interfaces-trust {
        member fe-0/0/2;
        member fe-0/0/3;
        member fe-0/0/4;
        unit 0 {
            family ethernet-switching {
                vlan {
                    members vlan-trust;
                }
            }
        }
    }
    ge-0/0/0 {
        vlan-tagging;
        unit 0 {
            vlan-id 500;
            family inet {
                filter {
                    input PCAP;
                }
            }
        }
        unit 40 {
            vlan-id 400;
            family inet {
                dhcp {
                    server-address 10.10.3.1;
                }
            }
        }
    }
    ge-0/0/1 {
        vlan-tagging;
        unit 0 {
            vlan-id 500;
            family inet;
        }
        unit 40 {
            vlan-id 400;
            family inet {
                dhcp {
                    server-address 10.10.3.1;
                }
            }
        }
    }
    fe-0/0/5 {
        unit 0 {
            family ethernet-switching;
        }
    }
    fe-0/0/6 {
        unit 0 {
            family ethernet-switching;
        }
    }
    fe-0/0/7 {
        unit 0 {
            family inet {
                dhcp {
                    server-address 192.168.0.1;
                }
            }
        }
    }
    lo0 {
        unit 0 {
            family inet {
                address 127.0.0.1/32;
            }
        }
    }
    vlan {
        unit 0 {
            family inet {
                address 192.168.1.1/24;
            }
        }
    }
}
routing-options {
    static {
        route 0.0.0.0/0 next-hop 10.10.3.1;
    }
}
security {
    nat {
        source {
            rule-set trust-to-untrust {
                from zone trust;
                to zone untrust;
                rule source-nat-rule {
                    match {
                        source-address 0.0.0.0/0;
                    }
                    then {
                        source-nat {
                            interface;
                        }
                    }
                }
            }
        }
    }
    screen {
        ids-option untrust-screen {
            icmp {
                ping-death;
            }
            ip {
                source-route-option;
                tear-drop;
            }
            tcp {
                syn-flood {
                    alarm-threshold 1024;
                    attack-threshold 200;
                    source-threshold 1024;
                    destination-threshold 2048;
                    timeout 20;
                }
                land;
            }
        }
    }
    zones {
        functional-zone management;
        security-zone trust {
            host-inbound-traffic {
                system-services {
                    all;
                }
                protocols {
                    all;
                }
            }
            interfaces {
                vlan.0;
            }
        }
        security-zone untrust {
            screen untrust-screen;
            interfaces {
                fe-0/0/7.0 {
                    host-inbound-traffic {
                        system-services {
                            all;
                        }
                        protocols {
                            all;
                        }
                    }
                }
            }
        }
        security-zone WAN {
            host-inbound-traffic {
                system-services {
                    any-service;
                }
                protocols {
                    all;
                }
            }
            interfaces {
                ge-0/0/0.0 {
                    host-inbound-traffic {
                        protocols {
                            bfd;
                        }
                    }
                }
                ge-0/0/1.0 {
                    host-inbound-traffic {
                        protocols {
                            bfd;
                        }
                    }
                }
                ge-0/0/0.40 {
                    host-inbound-traffic {
                        system-services {
                            all;
                        }
                        protocols {
                            all;
                        }
                    }
                }
                ge-0/0/1.40 {
                    host-inbound-traffic {
                        system-services {
                            all;
                        }
                        protocols {
                            all;
                        }
                    }
                }
            }
        }
    }
    policies {
        from-zone trust to-zone untrust {
            policy trust-to-untrust {
                match {
                    source-address any;
                    destination-address any;
                    application any;
                }
                then {
                    permit;
                }
            }
        }
        from-zone WAN to-zone WAN {
            policy WAN-WAN {
                match {
                    source-address any;
                    destination-address any;
                    application any;
                }
                then {
                    permit;
                }
            }
        }
    }
}
firewall {
    filter PCAP {
        term capture {
            from {
                interface ge-0/0/0.0;
            }
        }
    }
}
vlans {
    vlan-trust {
        vlan-id 3;
        l3-interface vlan.0;
    }
}

 


Viewing all articles
Browse latest Browse all 3959

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>