I have a 2960-S running the lastest software for testing on my bench:
Switch Ports Model SW Version SW Image
------ ----- ----- ---------- ----------
* 1 24 WS-C2960-24-S 15.0(1)SE2 C2960-LANLITEK9-M
I have set up VLAN 2 on 192.168.2.0/24 with the switch as the DHCP server. The switch is connected to an RV082 router which is at 192.168.1.65/27. Once I figure out what I doing I'll eventually shift that to 192.168.1.0/24 or something similar. So I have my switch acting as the DHCP server for VLAN 2 but I can't figure out how to get it to access the internet.
I found this example to set up the DHCP server:
this works to get vlan 2 to serve ips
no ip dhcp pool LAN
ip dhcp pool LAN_2
network 192.168.2.0 255.255.255.0
dns-server 192.168.1.65 (your DNS server IP)
interface vlan 2
ip add 192.168.2.1 255.255.255.0
no ip route-cache
ip tcp adjust-mss 1460
ip dhcp snooping
ip dhcp-server 192.168.2.1
I tried this which isn't a recognized CLI command: (maybe cuz of the lanlite software?)
ip route 0.0.0.0 0.0.0.0 x.x.x.x ( where x.x.x.x is next device connecting interface)
and then this:
ip default-gateway 192.168.1.65
Any pointers would be appreciated.
The RV082 doesn't support trunks AFIK and I'm pretty much a newb at this stuff. TIA. I guess I should get a real router and I most likely will but I'd like to get this working if possible before taking the next plunge.
The default gateway you are using is not in vlan 2. Try changing the ip address on the router interface to an ip in the same subnet as vlan 2. Then change the default gateway to that ip address. I am not sure what commands the lan lite does not have compared to ip base but try IP default-network commond and see if that will work in place of the default route.
As Michael and eugen stated you need an interface in the same subnet as the router.
Since it's a lanlite image you cannot enable unicast routing on the switch as you could if you had a lanbase image. This would be the reason you were unable to create your static route.
Now since the router can't use 802.1q trunks your only real option is to use a flat vlan on the same subnet as the router if you want to be able to access the internet from any devices connected to the switch.
The trunk link allows you to forward multiple vlans across that link. I don't know if you can configure vlans on the router, if your router does not support trunking, but has vlan 1 as default. You need to change vlans on the switch to match the vlan on the router and have the same subnet for that vlan on switch and router.
The router does support vlans just not trunks. I just don't know if assigning a physical port on the RV082 to vlan 2 is merely an internal tag used for isolation or if tags coming in on the physical port would also be recognized. I'll give it a shot when I get a chance otherwise I'll pull out the UC500 or CE520.
Without trunks there would be no tagging involved, in other words your catalyst switch should be connected using an access port and not a trunk port.
It would also appear the rv082 will allow your vlans to access the internet but no inter-vlan routing is done so this would work if you have 2 networks that don't need to speak to each other but yet both need internet access.
They explain the behaviour in the following document (page 88 at the bottom of the page)
Question We run asr9001 with XR 6.1.3, and we have a very long delay to
login w/ SSH 1 or 2 to the device compare to IOS device. After
investigation, the there is 1s delay between the client KEXDH_INIT and
the server (XR) KEXDH_REPLY. After debug ssh serv...
Introduction The purpose of this document is to demonstrate the Open
Shortest Path First (OSPF) behavior when the V-bit (Virtual-link bit) is
present in a non-backbone area. The V-bit is signaled in Type-1 LSA only
if the router is the endpoint of one or ...
Hi, I am seeing quite a few issues with patch install and wanted to
share my experience and workaround to this. Login to admin via CLI, then
access root with the “shell” command Issue “df –h” and you’ll probably
see the following directory full or nearly ...