• Status: Solved
  • Priority: Low
  • Security: Public
  • Views: 110
  • Last Modified:

router and switch with VLAN

Hi all,

I'm looking for a bit of help getting started with my HP 1820-24g switch .

my network plan :

sophos router eth1(lan 192.168.0.1/24) and i configured the sophos router so : new interface eth4 (192.168.2.1/24) mit VLAN ID :10 function.

i also sophos router configured dhcp scopes for 192.168.2.100- to 200

so i connected sophos eth4 lan cable  -->switch port 1


so i have the native vlan 1, and  vlan 10(port 1-10 tagged) for lan  on the router.

my problem are:
1. if i change sophos interface(eth4)  Vlan funtion to only ethernet and i connect my laptop port 7 then get my laptop IP from sophos router dhcp server.

2.if i change sophos inteface (eth4) only Vlan fuction (vlan 10),then my laptop gets no ip from sophos dhcp server.

any idea and help?
Thank you
0
needs needs
Asked:
needs needs
  • 8
  • 3
1 Solution
 
Dirk KotteSECommented:
Hi,
i don`t understand why you configure VLAN, if only one LAN network is used.
but...i'll try to help
you connect sophos (UTM/SG?) eth4 to port 1 at the switch.
this part seems correct UTM-eth4 and switch-Port 1 use VLAN10 tagged.
for the notebook you need an accessport (untagged) within vlan10. (or you have to configure tagged vlan within the NB ... bad idea)

your native vlan1 at eth1 is not connected to the switch ... correct?
It connects to the ISP?
0
 
needs needsAuthor Commented:
Hallo Dirk
Thank you for your help. I just want to learn it how Trunk and VLAN

on Sophos(astaro 425) configured:

eth0 192.168.0.1 (local LAN Interface)
eth1 WAN (from vdsl modem IP)
eth4 192.168.2.1

I just want to learn : how can i configure VLAN on Sophos and HP 1820.
so i configured : eth4 is emty Interface i just wantted to use.

Sophos configuration:

1.new Interface eth4 and VLAN ID:10 configured.
2.connect cable from Sophos eth4 to HP 1820 Switch port1( tagged)
3.configured DHCP on Sophos for eth4(vlan10) 192.168.2.100-192.168.2.200


Switch configuration:

I created VLAN10 and port1 is tagged and all other ports are untagged . VLAN1 Default and all ports are untagged.


Now i connect my Laptop to example : port 15 and wait IP from Sophos dhcp .But does not get IP automatically.
i go to Sophos web Interface and Change eth4 Interface configuration (drop down menu) to only Ethernet .
then my Laptop get automatically IP from Sophos DHCP Server.

only does not work if i use VLAN ID:10 on Sophos inteface configuration.

I am very bussy look at this Problem and i understood that HP 1820 does not work properly PORT Membership ,I THINK.
0
 
needs needsAuthor Commented:
oh sorry forgotten
your native vlan1 at eth1 is not connected to the switch ... correct?  YES CORRECT .


asg eth4 --->hp Switch 1820 port 1
0
Improve Your Query Performance Tuning

In this FREE six-day email course, you'll learn from Janis Griffin, Database Performance Evangelist. She'll teach 12 steps that you can use to optimize your queries as much as possible and see measurable results in your work. Get started today!

 
needs needsAuthor Commented:
may be do i Need after Interface configuration eth4 ,some RULES Need to work astaro dhcp with vlan 10 .

actually i just did unter Firewall rules ,eth4 vlan 10(Name is so)--->internetip4

i do some where a mistake i do not know where? this is the reason learning.
0
 
Dirk KotteSECommented:
Hi,
you have to configure the access-port (port 15) at the switch with VLAN10 untragged.

Hallo,
du sprichst deutsch?
Auf dem Switch muss port 15 zum accessport gemacht werden und trotzdem VLAN10 zugewiesen (untagged).
Die UTM schubst ja Pakete in das VLAN10 und nur aus dem VLAN10 können diese auch wieder raus. dazu muß der port entweder getaggt auf VLAn10 horchen und getaggte pakete verstehen, oder ein Accessport (ungetaggter port für normale PC/Server) wird diesem VLAN zugeordnet.
Wie das genau auf einem "echten" HP aussieht kann ich nicht sagen.
Mit einem HP/Aruba Switch hab ich es schon gesehen.
0
 
needs needsAuthor Commented:
yessss ich spreche
0
 
needs needsAuthor Commented:
du hast Rech Dirk, Ich denke auch Access port aber denke HP 1820-24g Switch schafft das nicht .ich habe hier sehr alte eine hp Switch 3400cl teste heute abend mit den.
0
 
needs needsAuthor Commented:
verstehe ich Richtig."Auf dem Switch muss port 15 zum accessport gemacht werden und trotzdem VLAN10 zugewiesen (untagged)."

VLAN10:
asg425-->hp 1820 port1( vlan 10 port 1 -tagged)    richtig?
mein Laptop -->hp 1820 port 15 ( vlan 10 port 15-tagged) richtig?
0
 
Dirk KotteSECommented:
fast ... der erste teil der letzten nachricht ist OK, aber der laptop muss an einen ungetaggten Port ...
VLAN10:
asg425-->hp 1820 port1( vlan 10 port 1 -tagged)    richtig?
mein Laptop -->hp 1820 port 15 ( vlan 10 port 15-UNtagged) richtig?
0
 
needs needsAuthor Commented:
ok vielen dank für die Hilfe. teste heute Abend

Lieber Dirk ,ich wünsche dir ein Schöne Tag .
0
 
needs needsAuthor Commented:
Super super super ,Thank you so much
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: CompTIA Cloud+

The CompTIA Cloud+ Basic training course will teach you about cloud concepts and models, data storage, networking, and network infrastructure.

  • 8
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now