NAT (WAN port) Configuration of Switch T2600G-28MPS

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.

NAT (WAN port) Configuration of Switch T2600G-28MPS

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.
NAT (WAN port) Configuration of Switch T2600G-28MPS
NAT (WAN port) Configuration of Switch T2600G-28MPS
2018-09-11 08:14:25 - last edited 2018-09-11 08:29:18

I have just brought a new switch (T2600G-28MPS) [JetStream 24-Port Gigabit L2 Managed PoE+ Switch with 4 SFP Slots]. I am having a problem when configuring the switch. Please refer my below figure.

 

 

In fact, I got a static IP from my university (suppose it is A.B.C.D). I can access the Internet using that IP. I tried static routing after logging in the switch (using web interface, address: 192.168.0.1) with Destination (192.168.0.0), Subnet Mask (255.255.255.0), Next Hop (A.B.C.D) but I could not access the Internet from Local Network computers as shown in the figure. Besides, the routing table is not changed. Destination Network (192.168.0.0/24), Next Hop (192.168.0.1).

 

One important thing is that I do not have permission to config the router.

 

Can anyone help me config this switch with NAT function? More detail, the switch creates a private network and all the packets from the private network will be forwarded to the address A.B.C.D such as NAT.

  0      
  0      
#1
Options
9 Reply
Re:NAT Configuration of Switch T2600G-28MPS
2018-09-11 08:37:49

Hi John:

    

    For this case, You need configure Static routing in Router also. If you can not configure anything in router, this issue can not be solved.

    We can simiplify your topology:

   

     Router(1.1.1.1/24)-------(VLAN1 1.1.1.2/24)switch(VLAN 2 192.168.0.1/24)------LAN(192.1680.x/24)

     

     Now, you configured Static routing(default gateway) in switch as:

     0.0.0.0 0.0.0.0 1.1.1.1

    

     PS: you need not configure static routing for 1.1.1.0/24 and 192.168.0.0/24, because they are Direct routing.

    

     Now, If there are one PC in LAN want to access the interent, his default gateway is 192.168.1.0. This pC will forward the data to switch.

     The Switch will forward this data to router, router forward this data to internet.

     

     But when internet reply the data to router, router do not know how to forward the data to this PC(have not routing entry), so you should configure

     Static routing in router.

    

    PS: Most of B2B Switch do not support NAT function, so you can not configure NAT in this switch also.

  1  
  1  
#2
Options
Re:NAT (WAN port) Configuration of Switch T2600G-28MPS
2018-09-11 09:04:58

Hi dude

 

I think TPTHZ is right. NAT is a kind of gateway's function. 

Is you want use another subnet, I think the switch can support DHCP server to do that. 

  0  
  0  
#3
Options
Re:Re:NAT Configuration of Switch T2600G-28MPS
2018-09-11 10:45:14 - last edited 2018-09-12 00:39:22

Hi TPTHZ,

 

Thanks for your valuable reply.

In fact, I did configure the default gateway for the switch following this guideline (https://www.tp-link.com/us/faq-2123.html).

As I mentioned in the original post, I could not access the router because it is managed by someone and they did not allow me to config the router.

 

Could I find other ways to route all packets (in and out) in the switch using the IP address A.B.C.D?

For example, we can create a VLAN (private VLAN) for some ports as a private network. Also, we can create another VLAN for the port which connect to the router using IP address A.B.C.D. Then we move the configuration problem to "how can two VLANs communicate with others".

 

Please look at this link: 

https://community.tp-link.com/en/business/forum/topic/99115

 

 

Thank you in advance.

  0  
  0  
#4
Options
Re:Re:NAT (WAN port) Configuration of Switch T2600G-28MPS
2018-09-11 10:51:49 - last edited 2018-09-11 10:52:17

Hi Panda,

 

 

Can you explain your suggestion in details? I do not understand how DHCP slove my configuration problem.

 

Thank for you time.

  0  
  0  
#5
Options
Re:Re:Re:NAT Configuration of Switch T2600G-28MPS
2018-09-12 03:12:27

JohnPekl wrote

Hi TPTHZ,

 

Thanks for your valuable reply.

In fact, I did configure the default gateway for the switch following this guideline (https://www.tp-link.com/us/faq-2123.html).

As I mentioned in the original post, I could not access the router because it is managed by someone and they did not allow me to config the router.

 

Could I find other ways to route all packets (in and out) in the switch using the IP address A.B.C.D?

For example, we can create a VLAN (private VLAN) for some ports as a private network. Also, we can create another VLAN for the port which connect to the router using IP address A.B.C.D. Then we move the configuration problem to "how can two VLANs communicate with others".

 

Please look at this link: 

https://community.tp-link.com/en/business/forum/topic/99115

 

 

Thank you in advance.

Hi John

    

    Your demand is different from the link that your support. If you only want to configure VLAN routing, it is not complex.

    But you hope computer are able to access the internet. As I said in the last reply, Router have not "Correct Routing Entry"is the real issue.

    I know how to arrive your home, but you do not know how to arrive my home, so we can not commnunicate with each other.

    This is the same situation.

    

  0  
  0  
#6
Options
Re: NAT Configuration of Switch T2600G-28MPS
2018-09-12 19:14:00

JohnPekl wrote

Could I find other ways to route all packets (in and out) in the switch using the IP address A.B.C.D?

 

Why don't you just add your own router to the A.B.C.D network with NATing your subnet? This way you have every option to configure things for yourself.

༺ 0100 1101 0010 10ཏ1 0010 0110 1010 1110 ༻
  0  
  0  
#7
Options
Re:Re: NAT Configuration of Switch T2600G-28MPS
2018-09-14 05:38:05

R1D2 wrote

JohnPekl wrote

Could I find other ways to route all packets (in and out) in the switch using the IP address A.B.C.D?

 

Why don't you just add your own router to the A.B.C.D network with NATing your subnet? This way you have every option to configure things for yourself.

I can ONLY config the switch, the router is manged by someone. Besides, I could not buy a new router because of financal isssue. If I can do (either buy a router or able to config the router), I would not raise this question.

  0  
  0  
#8
Options
Re:Re:Re: NAT Configuration of Switch T2600G-28MPS
2018-09-15 11:51:49 - last edited 2018-09-15 11:58:38

JohnPekl wrote:

I can ONLY config the switch, the router is manged by someone. Besides, I could not buy a new router because of financal isssue. If I can do (either buy a router or able to config the router), I would not raise this question.

 

I did understand already that you can't manage the main router.

 

What I can not understand is that you try to configure switch for things it's not made for. If it would support NAT, it would be no switch anymore, but became a router.

 

Furthermore, the switch is an expensive 370 USD device, while a cheap 70 USD device such as EP-X would be the solution for your problem.

༺ 0100 1101 0010 10ཏ1 0010 0110 1010 1110 ༻
  3  
  3  
#9
Options
Re:NAT (WAN port) Configuration of Switch T2600G-28MPS
2018-09-17 11:10:20

It is not NAT-Router. This switch does not support NAT. You cannot make more than one host to work.

Sell switch, buy cheap Miktorik router.

  2  
  2  
#10
Options

Information

Helpful: 0

Views: 4981

Replies: 9

Related Articles