Friday, July 10, 2026

Basic vlan on cisco 3560 with cable modem as router

This is mostly for my own notes, but maybe someone might need the info.


CREATE VLAN(S)

conf t
vlan 10
name PRODUCTION
vlan 20
name DEVELOPMENT
exit
exit
show vlan

You will see something like this:


Assign the IPs to the vlans.  This will let you route to them

conf t
interface
vlan 10 ip address 192.168.10.2 255.255.255.0 no shutdown interface vlan 20 ip address 172.20.20.1 255.255.255.0 no
shutdown
exit
exit

Review the status of your work:
show ip interface brief

You will see something like this:

Make sure your switch is routing
conf t
ip routing

shouldn't show anything really.

Assign some ports to the switch.
Here is what the current switch looks like.
We are assigning port 3 to vlan 10 and port 4 to vlan 20


interface gigabitEthernet 0/3
switchport access vlan 10
exit
interface gigabitEthernet 0/4
switchport access vlan 20
exit
exit
show vlan

You'll see something like this:

show ip interface brief

You will need to have something plugged into the ports before you can ping from the switch

Once up, you will need to add in a route to get there.
In this example, i'm just using an ISP cable modem, so it looked like this:



The destination network is 172.20.20.0 and the gateway is the default vlan 1 IP of the switch






Thursday, July 2, 2026

Java Installation Script Error

"people still use Java?"

Yep.

Had an issue with installation of Java from https://www.java.com/en/download/manual.jsp

In this case it was JRE-8 update 941 and kept getting

"An error has occurred in the script on this page"


There are some methods where you can suppress error messages in Windows by going to Internet Options and in the Advanced tab, disabling Script Debug. 

Another option to try is this:

Open a Command Prompt in the directory that your Java installer is in and run the executable using this syntax

jre-8u491-windows-x64.exe INSTALL_SILENT=Enable