internet access via extreme summit x460-24t switch

  • 0
  • 1
  • Question
  • Updated 1 year ago
  • Answered
Here is the situation
I have ether cable coming out from my modem which I connect to my PC , then internet works on that PC. BTW , my PC isset to get ip and dns server via DHCP.
Now I want to give internet access to six servers connected directly to this extreme switch.
Note that - these six servers will have static IP (say 192.168.2.x) so that they can communicate with each other.These servers are simply PC's running some software (like asterisk) .
So far , I have thought that
I will make 6 ports untagged with same vlan (say 1001). vlan1001 interface on extreme will have IP 192.168.2.1 .


Also note that - the modem cable gives IP in range 192.168.1.x and gateway = dns = 192.168.1.10 ('route -n' and 'nmcli dev list eth0 | grep DNS')

How should I go about giving vlan1001 internet access ?
Then I have to also give vlan 1002 internet access , vlan 1002 will go from trunk port of switch to a device that accepts tagged packets.
Guess , if 1001 works then I will be able to extend it to 1002 and others.

Thanks.
Please let me know , if some other info is needed.
Photo of sumeet

sumeet

  • 798 Points 500 badge 2x thumb

Posted 1 year ago

  • 0
  • 1
Photo of Prashanth KG

Prashanth KG, Employee

  • 5,300 Points 5k badge 2x thumb
Hi Sumeet,

since the servers and the modem are in different IP subnets, the switch should be capable of doing intervlan routing.

let us know if the below suggestion would help.

Modem (192.168.1.1) ---------- (Vlan 1- 192.168.1.x) Extreme switch (Vlan 2 - 192.168.2.x) -------- servers connected in vlan 2.

IPforwarding enabled in the extreme switch for boths vlans 1 and 2.
Have a default route added in this switch pointing to the modem (192.168.1.1)

Command:
configure iproute add default 192.168.1.1

Refer the article below for more details:

https://gtacknowledge.extremenetworks.com/articles/How_To/How-to-enable-inter-VLAN-routing-in-EXOS
https://gtacknowledge.extremenetworks.com/articles/How_To/Configure-a-default-route-in-EXOS

Hope this helps!
Photo of David Choi

David Choi, Employee

  • 1,966 Points 1k badge 2x thumb
Sumeet,

You should also make sure that the servers have default GW of Vlan 2 IP address of Extreme switch and whether the Modem or ISP should have proper NAT / routing configuration for the additional server network (192.168.2.x) as well.
And you need to check from the service provider whether or not there is any limitation configured on the line connected to the modem (e.g. limitation for the number of users can be provided service or allowed bandwidth, etc.).
Photo of Daniel Flouret

Daniel Flouret, Employee

  • 7,470 Points 5k badge 2x thumb
Sumeet,

If your modem is meant to provide home access to the Internet, these modems expect a single PC to be connected to them and have no provision for NATting or adding routes.

To do what you want you need to connect a NAT-capable router to your modem. The router will get its public IP and DNS from the modem (much like your PC does now), and NAT the different internal subnets to the public IP. You'll need to configure routes to all internat subnets not directly connected to the router.

And no, EXOS does not support NAT, so you can't use your switch for that...
Photo of Ronald Dvorak

Ronald Dvorak, Embassador

  • 50,004 Points 50k badge 2x thumb
I agree with Daniel.

What should work (at least on every modem I've owned so far) is to reconfig the LAN subnet.

So reconfig it to use 192.168.2.x instead of 192.168.1.x and put all 6 servers and the modem in the same VLAN.

I don't see any other solution with the current equipment if you'd like to keep the same IP on the servers and if the modem doesn't support adding static routes.