Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


MichaelNZ

1594 posts

Uber Geek
+1 received by user: 485

Trusted
Net Trust Ltd

#248704 6-Apr-2019 17:05
Send private message

Is there a way to put a DV130 on an IP address and VLAN tag this so I can access the DV130 through my "mamagement vlan"?

 

Setup is bridging VDSL to Mikrotik. Mikrotik WAN port has an IP address assigned to it (ie: not PPPoE)

 

Have Googled and all the examples I could find were tangibly different from what I am doing.





WFH Linux Systems and Networks Engineer in the Internet industry | Specialising in Mikrotik | APNIC member | Open to job offers | ZL2NET


Create new topic
richms
29097 posts

Uber Geek
+1 received by user: 10206

Trusted
Lifetime subscriber

  #2211854 6-Apr-2019 17:10
Send private message

I was able to use mine over vlan 10 for the internet, as well as get an untagged IP address from it to manage it. Because my unifi router wasnt able to handle the second untagged interface I stuck a switch in the way and then took that into my lan switch which I had a seperate vlan back to my computer to be able to access the routers page to be able to see how terrible my sync speeds were that particular day and kick off a resync without having to go downstairs and pull plugs out.




Richard rich.ms



freakngeek
356 posts

Ultimate Geek
+1 received by user: 123


  #2211940 6-Apr-2019 21:46
Send private message

Can you get to the DV130 via router ?
I set my ERL3 to masquarade LAN to WAN port so I can see the DV130 and radios that link router to Modem
But I haven't tried VLAN on that, tempted to give it ago once kids and Mrs are in bed.

 

DV130 does support 2x IPs to access it on different subnets


MichaelNZ

1594 posts

Uber Geek
+1 received by user: 485

Trusted
Net Trust Ltd

  #2211942 6-Apr-2019 21:49
Send private message

freakngeek:

 

DV130 does support 2x IPs to access it on different subnets

 

 

The issue here is what to do at the other end of the cable (WAN interface on router) which has an IP applied. The only good answer I can think of is if the LAN port of the DV130 can be stuck into a VLAN, which so far, appears it can't.





WFH Linux Systems and Networks Engineer in the Internet industry | Specialising in Mikrotik | APNIC member | Open to job offers | ZL2NET




nitrotech
1285 posts

Uber Geek
+1 received by user: 168


  #2211945 6-Apr-2019 22:02
Send private message

Where are you tagging - if you tag in the MT instead of the draytek then you can masquerade the wan interface to get to the management webpage on the draytek - have done it before

MichaelNZ

1594 posts

Uber Geek
+1 received by user: 485

Trusted
Net Trust Ltd

  #2211949 6-Apr-2019 22:05
Send private message

nitrotech: Where are you tagging - if you tag in the MT instead of the draytek then you can masquerade the wan interface to get to the management webpage on the draytek - have done it before

 

Thanks. I believe that could be an option if I was using 1x WAN connection but I am using multiple WAN connections and it could get messy as they would all haver to be tagged VLAN10. By my reading of the Draytek howto, it's the internet connection which needs to be VLAN'd and the management network not.

 

Since the OP I have concluded this can't be done with the DV130. But I will keep on using the DV130 just have to forego the DSL stats.





WFH Linux Systems and Networks Engineer in the Internet industry | Specialising in Mikrotik | APNIC member | Open to job offers | ZL2NET


freakngeek
356 posts

Ultimate Geek
+1 received by user: 123


  #2211988 6-Apr-2019 22:25
Send private message

You can reach the DV130 management interface with the single port
As above masquarade from LAN port to WAN port

 

Here is ERL3 way to set it up, just translate in to Mikrotik

 

set service nat rule 5000 description 'Clients on WAN side'
set service nat rule 5000 destination address 192.168.1.0/24
set service nat rule 5000 outbound-interface eth0
set service nat rule 5000 source address 192.168.0.1/24
set service nat rule 5000 type masquerade

 

192.168.1.xxx = WAN side where the DV130 is in bridge mode ,I also have the radios that link modem to router on this subnet
192.168.0.xxx is my main LAN

 

You'll probably have to change Out-bound to interface that VLAN10 is on
I strip it at the modem


 
 
 
 

Shop now for Lego sets and other gifts (affiliate link).
chevrolux
4962 posts

Uber Geek
+1 received by user: 2638
Inactive user


  #2211990 6-Apr-2019 22:33
Send private message

But you only have one Draytek per physical interface right? And are your WAN's are PPPoE?

Ie... ether1 has pppoe1 on it. Or ether1.10 has pppoe1 on it.

If so, you should just assign an IP/subnet to ether1, set your draytek in that same subnet, and then just a masquerade rule (or route) to suit your WAN's setup.

MichaelNZ

1594 posts

Uber Geek
+1 received by user: 485

Trusted
Net Trust Ltd

  #2211991 6-Apr-2019 22:35
Send private message

chevrolux: But you only have one Draytek per physical interface right? And are your WAN's are PPPoE?

 

1. Yes

 

2. No PPPoE





WFH Linux Systems and Networks Engineer in the Internet industry | Specialising in Mikrotik | APNIC member | Open to job offers | ZL2NET


nitrotech
1285 posts

Uber Geek
+1 received by user: 168


  #2211995 6-Apr-2019 22:53
Send private message

MichaelNZ:

 

chevrolux: But you only have one Draytek per physical interface right? And are your WAN's are PPPoE?

 

1. Yes

 

2. No PPPoE

 

 

 

 

So you're not bridging then, draytek is doing the pppoe?


Tracer
343 posts

Ultimate Geek
+1 received by user: 151


  #2212042 7-Apr-2019 00:07
Send private message

nitrotech:

 

MichaelNZ:

 

chevrolux: But you only have one Draytek per physical interface right? And are your WAN's are PPPoE?

 

1. Yes

 

2. No PPPoE

 

 

 

 

So you're not bridging then, draytek is doing the pppoe?

 

 

Yes. He's trying to implement the suggestions from this thread: https://www.geekzone.co.nz/forums.asp?forumid=66&topicid=248381 


Create new topic








Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.