Quantcast
Channel: EdgeRouter topics
Viewing all articles
Browse latest Browse all 20028

VLAN can not reach Internet

$
0
0

HI

Someone out there that can help me configure EdgeRouter or Switch? 

 

Eth0=Managerment 192.168.0.1

Eth1=Internet 

Switch0= Internet 192.168.1.9

Eth2=LAN 192.168.10.1

Eth2.20=GuestLAN 192.168.20.1

Eth4=IPTV

 

PC connected to Eth2 can ping all IP adresses and IP adress outside Internet

PC connected to Eth2.20 can ping all IP adresses BUT NOT outside Internet

It seems that when I use VLAN it can not handel traffic outside to Internet?

 

 

ubnt@ubnt:~$ show configuration

interfaces {

    ethernet eth0 {

        address 192.168.0.1/24

        poe {

            output off

        }

    }

    ethernet eth1 {

        poe {

            output off

        }

    }

    ethernet eth2 {

        address 192.168.10.1/24

        poe {

            output off

        }

        vif 20 {

            address 192.168.20.1/24

            description Private_LAN

            mtu 1500

        }

    }

    ethernet eth3 {

    }

    ethernet eth4 {

    }

    ethernet eth5 {

    }

    loopback lo {

    }

    switch switch0 {

        address dhcp

        switch-port {

            interface eth1 {

                vlan {

                    vid 845

                }

            }

            interface eth4 {

                vlan {

                    vid 845

                }

            }

            vlan-aware enable

        }

    }

}

service {

    dns {

        forwarding {

            listen-on switch0

            listen-on eth2

            listen-on eth2.20

        }

    }

    gui {

    }

    nat {

        rule 5002 {

            description we

            log disable

            outbound-interface switch0

            type masquerade

        }

        rule 5003 {

            description 8uyi

            log disable

            outbound-interface eth2

            type masquerade

        }

    }

    ssh {

    }

}

system {

    login {

        user ubnt {

            authentication {

                encrypted-password ****************

            }

            level admin

        }

    }

    ntp {

        server 0.ubnt.pool.ntp.org {

        }

        server 1.ubnt.pool.ntp.org {

        }

        server 2.ubnt.pool.ntp.org {

        }

        server 3.ubnt.pool.ntp.org {

        }

    }

    syslog {

        global {

            facility all {

                level notice

            }

            facility protocols {

                level debug

            }

        }

    }

}

ubnt@ubnt:~$


Viewing all articles
Browse latest Browse all 20028

Trending Articles



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