Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


Pasco

16 posts

Geek


#120808 14-Jun-2013 11:36
Send private message

Hello guys, can someone here please help configure a cisco router + managed cisco switch to connect to UFB. I remember someone in the forum has provided a solution using Vlan10 tagging on a switch and then connect up ONT and router. I tried that but didn't work.

Please bear with me my network knowledge is pretty basic. Here is what I have done. Created a vlan10 and assign two ports(port 1 &2, both untagged) to it. Connect switch port1 to ONT and connect port2 to router's WAN por(DHCP on WAN port is enabled)t. And then connect router's lan port to switch.

Help appreciated! Thanks

View this topic in a long page with up to 500 replies per page Create new topic
 1 | 2
Sounddude
I fix stuff!
1928 posts

Uber Geek

Trusted
2degrees
Lifetime subscriber

  #836768 14-Jun-2013 11:39
Send private message

You need to set port 1 to be a tagged port (802.1q)


Also keep in mind that the switch probably doesn't support NAT.



ubergeeknz
3344 posts

Uber Geek

Trusted
Vocus

  #836769 14-Jun-2013 11:41
Send private message

You need to do NAT between the external interface and the rest of your network.

The External interface will need to be using Tagged VLAN 10 not untagged.  You can ignore untagged traffic on that interface.

Hope that helps.

Pasco

16 posts

Geek


  #836784 14-Jun-2013 12:03
Send private message

Sounddude: You need to set port 1 to be a tagged port (802.1q)


Also keep in mind that the switch probably doesn't support NAT.


Thanks a lot mate. If the switch doesn't support NAT, Can i set NAT in the NAT in the router? the switch we have here is SG 300-28 28-Port Gigabit Managed Switch. And router is RV042G



Pasco

16 posts

Geek


  #837087 15-Jun-2013 00:50
Send private message

Thanks guys! I've managed to connect up the internet using ONT + router + switch. I have done speed test. Speed scores almost at the same level, but just the new solution seems more stable.

Now I have a new problem here. I can only access to internet if I connect a PC to one of the router's LAN ports. If I connect a PC to the managed switch pots. PC will not be able to contact router/dhcp sever to retrieve an IP address.

ONT----Port 1 (VLAN10 tagged)
Router's WAN Port ------ Port 2(VLAN 10 untagged)
PC ------ Port3
PC ------Port4
PC ------Port5
Printer ------Port6 

Does anyone know what caused that problem? DO I need configure/vlan other ports on the switch so that I can connect a PC to one of switch's ports to access internet?

many thanks.

mercutio
1392 posts

Uber Geek


  #837124 15-Jun-2013 09:44
Send private message

is the router lan port on the switch too?

Pasco

16 posts

Geek


  #837126 15-Jun-2013 09:46
Send private message

Yes, router's LAN port is connected to the switch.

mercutio
1392 posts

Uber Geek


  #837127 15-Jun-2013 09:48
Send private message

Pasco: Yes, router's LAN port is connected to the switch.


the lan port should be untagged, and on the same vlan as the normal ports.

ideally you'd shift away from the default vlan 1, and use your own internal vlan but this should not make this break/work, so i'd get things working first.



Pasco

16 posts

Geek


  #837148 15-Jun-2013 10:38
Send private message

mercutio:
Pasco: Yes, router's LAN port is connected to the switch.


the lan port should be untagged, and on the same vlan as the normal ports.

ideally you'd shift away from the default vlan 1, and use your own internal vlan but this should not make this break/work, so i'd get things working first.




Thanks Mercutio, When I connect LAN port from Router to the managed switch. Should I use crossover cable or normal straight through?

mercutio
1392 posts

Uber Geek


  #837149 15-Jun-2013 10:39
Send private message

Pasco:
mercutio:
Pasco: Yes, router's LAN port is connected to the switch.


the lan port should be untagged, and on the same vlan as the normal ports.

ideally you'd shift away from the default vlan 1, and use your own internal vlan but this should not make this break/work, so i'd get things working first.




Thanks Mercutio, When I connect LAN port from Router to the managed switch. Should I use crossover cable or normal straight through?


there should be auto crossover.  do you get link state?


Pasco

16 posts

Geek


  #837288 15-Jun-2013 15:45
Send private message

now i can see where the problem is now. but don't know what is causing this issue.

When I disconnect cable between router's wan port and port 2. All PCs connected to the managed switch can ping both router and switch. However, when connect the cable back. All PCs on the switch will not be able to ping router but only the managed switch. Have tried creating new VLAN20 and assign ports to the VLAN20. But same problem.

Have to connect router's lan port to another unmanaged switch. Then all PCs connected to that unmanaged switch will be able to ping both managed switch and router and then surf internet.

mercutio
1392 posts

Uber Geek


  #837298 15-Jun-2013 15:49
Send private message

Pasco: now i can see where the problem is now. but don't know what is causing this issue.

When I disconnect cable between router's wan port and port 2. All PCs connected to the managed switch can ping both router and switch. However, when connect the cable back. All PCs on the switch will not be able to ping router but only the managed switch. Have tried creating new VLAN20 and assign ports to the VLAN20. But same problem.

Have to connect router's lan port to another unmanaged switch. Then all PCs connected to that unmanaged switch will be able to ping both managed switch and router and then surf internet.


you haven't got vlan 10 on the other ports as well have you? 

ports 1/2 should be vlan 10 only.  other ports should be vlan 20 or vlan 1 only, depending on which you use...

computer you do management from can be on vlan 1 too so you can connect to switch.


Pasco

16 posts

Geek


  #837301 15-Jun-2013 15:56
Send private message

mercutio:
Pasco: now i can see where the problem is now. but don't know what is causing this issue.

When I disconnect cable between router's wan port and port 2. All PCs connected to the managed switch can ping both router and switch. However, when connect the cable back. All PCs on the switch will not be able to ping router but only the managed switch. Have tried creating new VLAN20 and assign ports to the VLAN20. But same problem.

Have to connect router's lan port to another unmanaged switch. Then all PCs connected to that unmanaged switch will be able to ping both managed switch and router and then surf internet.


you haven't got vlan 10 on the other ports as well have you? 

ports 1/2 should be vlan 10 only.  other ports should be vlan 20 or vlan 1 only, depending on which you use...

computer you do management from can be on vlan 1 too so you can connect to switch.



I assigned port 1 & 2 to VLAN10 only. other ones are either default VLAN1 or VLAN20. 

Sounddude
I fix stuff!
1928 posts

Uber Geek

Trusted
2degrees
Lifetime subscriber

  #837304 15-Jun-2013 16:01
Send private message

Can you router support vlan tagging? or have another port? I haven't looked up the specs.

ONT----Port 1 (VLAN10 tagged)
Router's WAN Port -POrt 2 (untagged vlan 10)
Router LAn Port3 (untagged vlan 20)
PC ------ Port4 (untagged vlan 20)
PC ------Port5 (untagged vlan 20)
PC ------Port6 (untagged vlan 20)
Printer ------Port7 (untagged vlan 20)

Setup the router to DHCP client on WAN

Setup the router with a private IP for the wan ports (ie 192.168.1.1/24) and setup a DHCP server on the router to give out 192.168.1.x IP's.

Also then setup NAT on the router to NAT to the Ip given by Orcon. You will only ever be give one IP and allow one MAC address on the WAN port. Otherwise the BNG node at Orcon will ignore you.

Hope that helps.

Zeon
3916 posts

Uber Geek

Trusted

  #837305 15-Jun-2013 16:02
Send private message

That switch can be configured for management on any vlan

Pasco

16 posts

Geek


  #837317 15-Jun-2013 16:11
Send private message

Sounddude: Can you router support vlan tagging? or have another port? I haven't looked up the specs.

ONT----Port 1 (VLAN10 tagged)
Router's WAN Port -POrt 2 (untagged vlan 10)
Router LAn Port3 (untagged vlan 20)
PC ------ Port4 (untagged vlan 20)
PC ------Port5 (untagged vlan 20)
PC ------Port6 (untagged vlan 20)
Printer ------Port7 (untagged vlan 20)

Setup the router to DHCP client on WAN

Setup the router with a private IP for the wan ports (ie 192.168.1.1/24) and setup a DHCP server on the router to give out 192.168.1.x IP's.

Also then setup NAT on the router to NAT to the Ip given by Orcon. You will only ever be give one IP and allow one MAC address on the WAN port. Otherwise the BNG node at Orcon will ignore you.

Hope that helps.



Thanks. for that NAT part, I just enabled that one-to-one NAT on the router. didn't set any ip range for it. with that setting, I can connect my laptop to router's LAN port and access internet without any problem. 

 1 | 2
View this topic in a long page with up to 500 replies per page Create new topic





News and reviews »

Air New Zealand Starts AI adoption with OpenAI
Posted 24-Jul-2025 16:00


eero Pro 7 Review
Posted 23-Jul-2025 12:07


BeeStation Plus Review
Posted 21-Jul-2025 14:21


eero Unveils New Wi-Fi 7 Products in New Zealand
Posted 21-Jul-2025 00:01


WiZ Introduces HDMI Sync Box and other Light Devices
Posted 20-Jul-2025 17:32


RedShield Enhances DDoS and Bot Attack Protection
Posted 20-Jul-2025 17:26


Seagate Ships 30TB Drives
Posted 17-Jul-2025 11:24


Oclean AirPump A10 Water Flosser Review
Posted 13-Jul-2025 11:05


Samsung Galaxy Z Fold7: Raising the Bar for Smartphones
Posted 10-Jul-2025 02:01


Samsung Galaxy Z Flip7 Brings New Edge-To-Edge FlexWindow
Posted 10-Jul-2025 02:01


Epson Launches New AM-C550Z WorkForce Enterprise printer
Posted 9-Jul-2025 18:22


Samsung Releases Smart Monitor M9
Posted 9-Jul-2025 17:46


Nearly Half of Older Kiwis Still Write their Passwords on Paper
Posted 9-Jul-2025 08:42


D-Link 4G+ Cat6 Wi-Fi 6 DWR-933M Mobile Hotspot Review
Posted 1-Jul-2025 11:34


Oppo A5 Series Launches With New Levels of Durability
Posted 30-Jun-2025 10:15









Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.