Link to home
Start Free TrialLog in
Avatar of andrewh123
andrewh123

asked on

HP Vlans

Hello

I have connected a Laptop to a RJ45 in the network. Then Patched the port to RJ45 in the wall on the Vlan, Then I assign a static IP of
i/p 10.22.30.10
s/n 255.255.255.0
G/w 10.22.30.1

I can ping the network switch on 192.168.1.221 but i can't get to the internet? do i need a special route? Our domain conroller/DNS server IP address is 192.168.1.35. I download a program called solar winds, I can ping 6 address on the ip range of 192.168.1.1/24 but i can't ping 192.168.1.1 or 192.168.1.35

Encloed the Config

Running configuration:

; J9147A Configuration Editor; Created on release #W.14.38

hostname "Switchoffice"
time timezone 1
module 1 type J9147A
ip default-gateway 192.168.1.1
ip routing
vlan 1
name "Lan"
untagged 1-12
ip address dhcp-bootp
tagged 48
no untagged 13-47
exit
vlan 100
name "DMZ"
untagged 37-47
ip address 172.16.8.1 255.255.255.128
tagged 48
exit
vlan 20
name "Voip"
untagged 13-24
ip address 192.168.42.1 255.255.255.0
tagged 48
exit
vlan 30
name "UP Lan"
untagged 25-36
ip address 10.22.30.1 255.255.255.0
exit
Ip route 0.0.0.0 0.0.0.0 192.168.1.1 (our default gateway)
ip route 10.22.30.0 255.255.255.0 192.168.1.1
banner motd "This is a private system maintained by the Corporation"
snmp-server community "public" unrestricted
Avatar of Don Johnston
Don Johnston
Flag of United States of America image

Your default-route next hop address (192.168.1.1) in unreachable because there is no interface on this switch with a 192.168.1.0/24 address.
Avatar of andrewh123
andrewh123

ASKER

Hello

How I access is the switch is I type in 192.168.1.221, I add this from windowos server 2003 Mac address of the switch is that correct?
ASKER CERTIFIED SOLUTION
Avatar of RKinsp
RKinsp
Flag of Brazil image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I connected to the switch using putty on 192.168.1.221 to change the config, or i type in 192.168.1.221 from the web console to view the switch
So I need this
vlan 40
name "New Lan"
untagged 40-48 (need to change the other vlans ports )
ip address 192.168.1.0 255.255.255.0
tagged 48
hello
The full conf

On vlan one i add the switch mac address to our windows server 2003 dchp server, what disp out our ip address in the 192.168.1.* range
Running configuration:

; J9147A Configuration Editor; Created on release #W.14.38

hostname "Switchoffice"
module 1 type J9147A
ip routing
vlan 1
name "Default Lan"
untagged 1-12
ip address dhcp-bootp
tagged 48
no untagged 13-47
exit
vlan 100
name "Guest Internet"
untagged 37-47
ip address 172.16.8.1 255.255.255.128
tagged 48
exit
vlan 20
name "Voip"
untagged 13-24
ip address 192.168.42.1 255.255.255.0
exit
vlan 30
name "UP Lan"
untagged 25-36
ip address 10.22.30.1 255.255.255.0
exit
interface 40
monitor
exit
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Hello,

No the router is not connect to port 48, I have a switch in the office connected by fibre to another office that how to two switches talk to each other. I had orginal
Vlan 10
ipaddress 192.168.1.100 255.255.255.0
exit

But when I patched the servers  into the switch on ports 1-11 I got no response from the servers? I have a dchp server dishing out ip to the clients 192.168.1.35 to 192.168.1.253,The serevrs all have static ip up to .35.  When i change the switch to dchp I got a response from the servers so I left it. What happens If i change the default Vlan? I have all the servers on swicth port 1-10
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Ok,
we have two buildings connected by fibre going across on a network gear switch then connected to firewall then router that building has the internet connection
the office has a netgear not managed on the 192.168.1.1/24 range
So we wanted to split the network so we bought two HP switches using the firbre to connect the switches  on port 48 then start to vlan the network(see above conf)
Its show vlans
vlan id   name
1           lan   port-based  no
20 Voip   port based
30 up lan port based
100 dmz port based
so on vlan 1
ip enabled
lan dchp/boot 192.168.1.221 255.255.255.0
vop Manual 192.168.42.1 255.255.255.0
up lan manual 10.22.30.1 255.255.255.0
dmz manual 172.16.8.1 255.255.255.128

Cheers

I might to start again from scratch

SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
That looks perfect
I thought the cisco asa5510 firewall is 192.168.1.1
Port 2 is the connection between HP and the netgear  won't any port from 2-11 which? on the HP switch?
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Hello,

Never knew that, Yes from the command line of the swicth I can ping 192.168.1.1
192.168.1.1 is alive , time = 4ms

SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thank you for help, You learn something new every day
Thanks for the points. Glad I could help.

-RK