ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    TP SG108PE + Ubiquiti Edge Router

    IT Discussion
    7
    72
    7.3k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D
      deleted23224 Banned
      last edited by

      I bought an AP, router, and switch online so I can have a bit more advanced setup at home. The switch is a tplink sg108pe, which has 8 ports, 4 of them being POE, and a bunch of goodies. The router is an edgerouter x from ubiquiti. I was screwing around with it yesterday and the UI is fantastic. The AP is a ubiquiti uap-lite.

      I set up DHCP and vlans on the router yesterday. I didnt set up a routing since its just the one router and switch. Eth0 on the router goes to port 8 of the switch, port 1 on the switch goes to AP, port 7 is my desktop.

      Vlans are
      20: wireless- 10.0.20.0/24
      30: wired- 10.0.30.0/24

      i have the ip on the router set to 10.0.0.1 and the switch at 10.0.0.2

      DHCP doesnt appear to be working, i have to statically set my addresses

      For some reason, I cant get the vlans to work on my switch. There isnt an option(or i dont see it) to set up a trunk from port 8 to the router,

      Can you guys help me figure this out, and explain why I am doing what I am doing?

      Any help would be appreciated, feel free to ask questions because I amsure I forgot something.

      1 Reply Last reply Reply Quote 1
      • brianlittlejohnB
        brianlittlejohn
        last edited by

        Several switches don't have a "Trunk" settings... what I've done in the past is just set up all the vlans as tagged on the port that would be the trunk.

        D 1 Reply Last reply Reply Quote 3
        • D
          deleted23224 Banned @brianlittlejohn
          last edited by

          @brianlittlejohn so there is an option to tag vlans and ports, but it doesnt designate which one would be the "uplink".

          THe switch has options for MTU vlan, 802.1Q, then port based vlan. Port based was only vlan 2-8, so i couldnt even use it.

          The MTU didnt seem to do anything, and 802.1Q allows me to specify which vlan a port is and whether its tagged, but not if i can specify an "uplink"

          brianlittlejohnB 1 Reply Last reply Reply Quote 0
          • brianlittlejohnB
            brianlittlejohn @deleted23224
            last edited by

            @cteneyck There is nothing special about an "uplink" port. In the past they were designated ports for crossover connections, but now with MDIX you no longer need to worry about it. The "trunk" setting that is on Cisco switches etc, all it does is tag all the vlans on the port, so If you go in and tag all the vlans you are using on that port it should work.

            1 Reply Last reply Reply Quote 2
            • D
              deleted23224 Banned
              last edited by

              http://www.tp-link.us/faq-788.html

              there is a link to what the web gui looks like. Maybe I am oblivious but its really confusing. Why are there two untagged vlans? how does that even work

              brianlittlejohnB scottalanmillerS 2 Replies Last reply Reply Quote 0
              • brianlittlejohnB
                brianlittlejohn @deleted23224
                last edited by

                @cteneyck From the link you sent, it appears they are using Port 1 as the "Trunk" port... If you look at the diagrams where they are tagging VLAN 101 and VLAN 102, they tag it on port 1, they are using ports 2-4 for vlan 101 (leaving untagged for no vlan aware devices) and ports 4-8 for vlan 102 (untagged for non vlan aware devices)

                1 Reply Last reply Reply Quote 1
                • D
                  deleted23224 Banned
                  last edited by

                  Alright. Ill try that. Does the rest of my configuration look good? Should I change anything?

                  1 Reply Last reply Reply Quote 0
                  • D
                    deleted23224 Banned
                    last edited by

                    Can i get a bump? I wont have internet after i get off work and I want to make sure everything from above looks good. I dont need a MGMT vlan do i?

                    1 Reply Last reply Reply Quote 1
                    • scottalanmillerS
                      scottalanmiller
                      last edited by

                      For HOME? No, a management VLAN is not critical for home use.

                      D 1 Reply Last reply Reply Quote 1
                      • D
                        deleted23224 Banned @scottalanmiller
                        last edited by

                        @scottalanmiller does the IP addressing and general setup look good?

                        1 Reply Last reply Reply Quote 0
                        • scottalanmillerS
                          scottalanmiller @deleted23224
                          last edited by

                          @cteneyck said in TP SG108PE + Ubiquiti Edge Router:

                          http://www.tp-link.us/faq-788.html

                          there is a link to what the web gui looks like. Maybe I am oblivious but its really confusing. Why are there two untagged vlans? how does that even work

                          Tagging is just one way to VLAN, it's the common one, but not the only kind.

                          D 1 Reply Last reply Reply Quote 1
                          • D
                            deleted23224 Banned @scottalanmiller
                            last edited by

                            @scottalanmiller good to know

                            1 Reply Last reply Reply Quote 0
                            • scottalanmillerS
                              scottalanmiller
                              last edited by

                              Address scheme seems fine.

                              1 Reply Last reply Reply Quote 1
                              • D
                                deleted23224 Banned
                                last edited by

                                Oh , before I forget.

                                The AP im assuming gets an IP address. Should I put it in the wireless vlan(10.0.30.0) or should i put it in the seperate subnet(10.0.0.0) just like the switch and router?

                                JaredBuschJ 1 Reply Last reply Reply Quote 0
                                • JaredBuschJ
                                  JaredBusch @deleted23224
                                  last edited by

                                  @cteneyck said in TP SG108PE + Ubiquiti Edge Router:

                                  Oh , before I forget.

                                  The AP im assuming gets an IP address. Should I put it in the wireless vlan(10.0.30.0) or should i put it in the seperate subnet(10.0.0.0) just like the switch and router?

                                  The AP itself is untagged by default.

                                  D 1 Reply Last reply Reply Quote 1
                                  • D
                                    deleted23224 Banned @JaredBusch
                                    last edited by

                                    @JaredBusch so 10.0.0.3 would work?

                                    1 Reply Last reply Reply Quote 0
                                    • D
                                      deleted23224 Banned
                                      last edited by

                                      8_1470406247827_10.PNG 7_1470406247827_8.PNG 6_1470406247826_7.PNG 5_1470406247826_6.png 4_1470406247825_5.PNG 3_1470406247824_4.png 2_1470406247823_3.png 1_1470406247822_2.png 0_1470406247820_1.png

                                      Here are some pictures from my adventure last night. I spent several hours trying to get it to work but gave up. I got the vlans to work, as show by the pings. However, I cant get anything to route. I dont know what the route to leave my router needs to be because i dont know what the address on the other side is. do i need to do something to figure that our or is there a tool in the router that can do that? also,do i need to nat, and how should i set that up.

                                      JaredBuschJ 1 Reply Last reply Reply Quote 0
                                      • JaredBuschJ
                                        JaredBusch @deleted23224
                                        last edited by

                                        @cteneyck, first you need to forget about doing anything with a VLAN. Create your flat network. Get all the wired devices working.

                                        Then add VLAN tags to the switch ports that the router and access point are plugged into. At that point a device on the wifi should pull an ip from the router.

                                        Remember this is why you see @scottalanmiller and myself always recommending a flat network. VLANS add complication. You are doing this to learn about them, so that is good. But this is exactly why VLANS do not belong in a network with very specific reasons.

                                        1 Reply Last reply Reply Quote 1
                                        • D
                                          deleted23224 Banned
                                          last edited by

                                          The VLANS are working, i just cant get outside my network now because i have no idea how to get the IP of the device on the other side of my wall jack. How do i set that up

                                          JaredBuschJ 1 Reply Last reply Reply Quote 0
                                          • JaredBuschJ
                                            JaredBusch @deleted23224
                                            last edited by

                                            @cteneyck by starting over. You jumped in the middle without ever getting the beginning done.

                                            start with a flat network and a working router config then you add complexity.

                                            1 Reply Last reply Reply Quote 1
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 1 / 4
                                            • First post
                                              Last post