XGS1250-12, router-on-a-stick, and VLAN trunking
I recently purchased the XGS1250-12 and need some help with configuring VLANs.
In short, I have a cable modem with a single multi-gig Ethernet port, which I plan to connect to port 10 on the XGS1250-12.
Then, I have a connection between port 11 and a router, that will be configured as a router-on-a-stick, to NAT Internet traffic for my LAN back to the XGS1250-12's remaining ports.
I created VLAN 100 on the XGS1250-12. Because the cable modem doesn't know anything about VLANs, I set PVID on port 10 to 100. Correct?
What else must be done on the XGS? I believe port 11 needs to be configured as a trunk port, but I don't know how that is done.
Anything else I'm missing, as far as the switch-side is concerned?
In short, I have a cable modem with a single multi-gig Ethernet port, which I plan to connect to port 10 on the XGS1250-12.
Then, I have a connection between port 11 and a router, that will be configured as a router-on-a-stick, to NAT Internet traffic for my LAN back to the XGS1250-12's remaining ports.
I created VLAN 100 on the XGS1250-12. Because the cable modem doesn't know anything about VLANs, I set PVID on port 10 to 100. Correct?
What else must be done on the XGS? I believe port 11 needs to be configured as a trunk port, but I don't know how that is done.
Anything else I'm missing, as far as the switch-side is concerned?
0
All Replies
-
Hi @ObliteRon,
Welcome to Zyxel Community.
I will help you to answer your question one by one:I created VLAN 100 on the XGS1250-12. Because the cable modem doesn't know anything about VLANs, I set PVID on port 10 to 100. Correct?I have a connection between port 11 and a router, that will be configured as a router-on-a-stick, to NAT Internet traffic for my LAN back to the XGS1250-12's remaining ports.
Do you mean that when the traffic from XGS1250 goes to the "router" to do NAT, and the traffic will back to the XGS1250 via the same cable then goes to the Internet via your modem? If it's the case, we suggest you to separate the WAN and LAN traffic between router and XGS1250 by connecting one more cable and assign different VLAN ID for them.
Please correct me if I am wrong on your scenario.Adam
0 -
Nebula_Adam said:
I have a connection between port 11 and a router, that will be configured as a router-on-a-stick, to NAT Internet traffic for my LAN back to the XGS1250-12's remaining ports.
Do you mean that when the traffic from XGS1250 goes to the "router" to do NAT, and the traffic will back to the XGS1250 via the same cable then goes to the Internet via your modem? If it's the case, we suggest you to separate the WAN and LAN traffic between router and XGS1250 by connecting one more cable and assign different VLAN ID for them.
Please correct me if I am wrong on your scenario.0 -
@ObliteRon
Thanks for your reply.
Now I understand the reason for only connecting singe link from switch to router.
If you would like to implement this scenario, you may check if your router is able to assign multiple VLANs on the same port and give each VLAN a subnet.
For our switch, it needs to create VLANs and tagged all VLANs for port 11.Adam
0 -
@Nebula_Adam
Is it enough to have VLAN1 for my LAN traffic and VLAN100 for the Internet/cable modem? Or do I need a third VLAN?
And then, how exactly should I set each port on the VLAN settings page of the XGS1250-12? I see for each port and each VLAN, I can set Non-Member, Tag Egress Member, and Untag Egress Member.
0 -
@ObliteRon,Is it enough to have VLAN1 for my LAN traffic and VLAN100 for the Internet/cable modem? Or do I need a third VLAN?how exactly should I set each port on the VLAN settings page of the XGS1250-12? I see for each port and each VLAN, I can set Non-Member, Tag Egress Member, and Untag Egress Membe
- non-member is to forbidden traffic on a VLAN.
- Tag Egress Member is to make a port tagged out.
- Untag Egress Member is to make a port untagged out
Adam
0
Categories
- All Categories
- 415 Beta Program
- 2.4K Nebula
- 151 Nebula Ideas
- 98 Nebula Status and Incidents
- 5.7K Security
- 277 USG FLEX H Series
- 277 Security Ideas
- 1.4K Switch
- 74 Switch Ideas
- 1.1K Wireless
- 42 Wireless Ideas
- 6.4K Consumer Product
- 250 Service & License
- 395 News and Release
- 85 Security Advisories
- 29 Education Center
- 10 [Campaign] Zyxel Network Detective
- 3.6K FAQ
- 34 Documents
- 34 Nebula Monthly Express
- 85 About Community
- 75 Security Highlight