How to create separate network / vlan

General discussion about Gargoyle, OpenWrt or anything else even remotely related to the project

Moderator: Moderators

shm0
Posts: 67
Joined: Sat Sep 19, 2015 10:06 am

Re: How to create separate network / vlan

Post by shm0 »

I cant tell if fail safe isn't working because i cant get the timing right.
How long did you wait after you power on ? 30 seconds?

I think the openwrt wiki is wrong about wrt1200 port layout?
WRT1900
LAN
0 1 2 3 5
WAN
4 6

WRT1200
LAN
0 1 2 3 6
WAN
4 5

Maybe that was the problem.

Lantis
Moderator
Posts: 7097
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia
Contact:

Re: How to create separate network / vlan

Post by Lantis »

failsafe you should be able to just spam one of the buttons after you turn the device on until it enters the fail safe mode.
https://lantisproject.com/downloads/gargoylebuilds for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.
https://lantisproject.com/blog

shm0
Posts: 67
Joined: Sat Sep 19, 2015 10:06 am

Re: How to create separate network / vlan

Post by shm0 »

Okay this seems very strange.
It seems Router config got reseted. DHCP not working.
With Static IP Set on my client im able to access the web Interface. But i cant login because of wrong password?
Or is this the fail safe mode?

//edit
Okay the password is password xD
Last edited by shm0 on Mon Jan 25, 2016 1:54 am, edited 1 time in total.

Lantis
Moderator
Posts: 7097
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia
Contact:

Re: How to create separate network / vlan

Post by Lantis »

Sounds like it's halfway between fail safe and broken lol.
Did you try the default password "password"
https://lantisproject.com/downloads/gargoylebuilds for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.
https://lantisproject.com/blog

Lantis
Moderator
Posts: 7097
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia
Contact:

Re: How to create separate network / vlan

Post by Lantis »

If it did get back to the GUI for you, the best bet is to reflash the firmware to get it all happy again, then restore your backup
https://lantisproject.com/downloads/gargoylebuilds for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.
https://lantisproject.com/blog

shm0
Posts: 67
Joined: Sat Sep 19, 2015 10:06 am

Re: How to create separate network / vlan

Post by shm0 »

Yes got it working again :D
Thanks for your help!

I flashed openwrt again to check vlan config there just for testing.
But there is nothing in the gui for vlans?
Maybe vlans aren't supported on the marvell platform?

And how to flash firmware to the secondary flash?

Lantis
Moderator
Posts: 7097
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia
Contact:

Re: How to create separate network / vlan

Post by Lantis »

When you flash it automatically flashes the secondary flash. The router then boots into it.
The next time you flash it will also go to the alternative flash (the original primary).

So to get the same version on both, you need to flash twice in a row with the same image.
https://lantisproject.com/downloads/gargoylebuilds for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.
https://lantisproject.com/blog

shm0
Posts: 67
Joined: Sat Sep 19, 2015 10:06 am

Re: How to create separate network / vlan

Post by shm0 »

Thanks again :D

shm0
Posts: 67
Joined: Sat Sep 19, 2015 10:06 am

Re: How to create separate network / vlan

Post by shm0 »

I found this in the ddwrt forum:
<Kong> wrote:
E.g. working example for the 1900AC V1:
swconfig dev switch0 set reset 1
swconfig dev switch0 set enable_vlan 1
swconfig dev switch0 vlan 1 set ports "5t 0 1 2 3"
swconfig dev switch0 vlan 2 set ports "5t 4"
swconfig dev switch0 set apply
ifconfig eth0 up
ifconfig eth1 up
vconfig set_name_type VLAN_PLUS_VID_NO_PAD
vconfig add eth0 1
vconfig add eth0 2
it should work exactly he way it does under openwrt.
But this doesnt work either. I tested all kind of combinations.
5t 0 1 2 3
5t 4
6t 0 1 2 3
6t 4
6t 0 1 2 3
5t 4
5t 0 1 2 3
6t 4

im a bit lost here...

Lantis
Moderator
Posts: 7097
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia
Contact:

Re: How to create separate network / vlan

Post by Lantis »

No idea sorry mate.
Possibly best to ask at the openwrt forums at this stage
https://lantisproject.com/downloads/gargoylebuilds for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.
https://lantisproject.com/blog

Post Reply