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.


16 posts

Geek


Topic # 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
I fix stuff!
1710 posts

Uber Geek
+1 received by user: 381

Trusted
Vocus
Subscriber

  Reply # 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.

3343 posts

Uber Geek
+1 received by user: 1089

Trusted
Vocus

  Reply # 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.



16 posts

Geek


  Reply # 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



16 posts

Geek


  Reply # 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.

1387 posts

Uber Geek
+1 received by user: 134


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

is the router lan port on the switch too?



16 posts

Geek


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

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

1387 posts

Uber Geek
+1 received by user: 134


  Reply # 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.





16 posts

Geek


  Reply # 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?

1387 posts

Uber Geek
+1 received by user: 134


  Reply # 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?




16 posts

Geek


  Reply # 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.

1387 posts

Uber Geek
+1 received by user: 134


  Reply # 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.




16 posts

Geek


  Reply # 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. 

I fix stuff!
1710 posts

Uber Geek
+1 received by user: 381

Trusted
Vocus
Subscriber

  Reply # 837304 15-Jun-2013 16:01
One person supports this post
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.

3415 posts

Uber Geek
+1 received by user: 405

Trusted

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

That switch can be configured for management on any vlan



16 posts

Geek


  Reply # 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

Twitter »

Follow us to receive Twitter updates when new discussions are posted in our forums:



Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:



Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:



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.

Alternatively, you can receive a daily email with Geekzone updates.