Hello all,
I want to access to 2 networks with the same ethernet cable.
The first network is a standard one (no VLAN, DHCP).
The second one is using the VLAN 999 and a static address.
- I've disabled UFW (just in case).
- IPV6 is disabled
- I've setup /etc/network/interfaces.d/dock.conf as follow
# VLAN 999
auto dock1.999
iface dock1.999 inet static
address 192.168.99.41
netmask 255.255.255.0
vlan-raw-device dock1
- the IP A command seems to work great:
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: dock1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
link/ether ... brd ff:ff:ff:ff:ff:ff
inet 192.168.1.103/24 brd 192.168.1.255 scope global dynamic noprefixroute dock1
valid_lft 84948sec preferred_lft 84948sec
3: enp2s0f0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN group default qlen 1000
link/ether ... brd ff:ff:ff:ff:ff:ff
4: wwan0: <POINTOPOINT,NOARP> mtu 1500 qdisc noop state DOWN group default qlen 1000
link/none
5: wlp3s0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 4096
link/ether ... brd ff:ff:ff:ff:ff:ff permaddr 8c:3b:4a:41:89:6c
6: dock1.999@dock1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
link/ether ... brd ff:ff:ff:ff:ff:ff
inet 192.168.99.41/24 brd 192.168.99.255 scope global dock1.999
valid_lft forever preferred_lft forever
- The route seems to be OK also : ip route show
default via 192.168.1.1 dev dock1 proto dhcp src 192.168.1.103 metric 100
169.254.0.0/16 dev dock1 scope link metric 1000
192.168.1.0/24 dev dock1 proto kernel scope link src 192.168.1.103 metric 100
192.168.99.0/24 dev dock1.999 proto kernel scope link src 192.168.99.41
- Everything works great with the default network (no VLAN)
-> For VLAN 999, ping and curl works great when I'm trying to access 192.168.99.254
But on Librewolf, Chromium, Midori ... I can't access the host ! It's always searching and nothing happen![Sad :-(]()
Could you please help me understanding what I'm doing wrong please ?
Thanks in advance
I want to access to 2 networks with the same ethernet cable.
The first network is a standard one (no VLAN, DHCP).
The second one is using the VLAN 999 and a static address.
- I've disabled UFW (just in case).
- IPV6 is disabled
- I've setup /etc/network/interfaces.d/dock.conf as follow
# VLAN 999
auto dock1.999
iface dock1.999 inet static
address 192.168.99.41
netmask 255.255.255.0
vlan-raw-device dock1
- the IP A command seems to work great:
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: dock1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
link/ether ... brd ff:ff:ff:ff:ff:ff
inet 192.168.1.103/24 brd 192.168.1.255 scope global dynamic noprefixroute dock1
valid_lft 84948sec preferred_lft 84948sec
3: enp2s0f0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN group default qlen 1000
link/ether ... brd ff:ff:ff:ff:ff:ff
4: wwan0: <POINTOPOINT,NOARP> mtu 1500 qdisc noop state DOWN group default qlen 1000
link/none
5: wlp3s0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 4096
link/ether ... brd ff:ff:ff:ff:ff:ff permaddr 8c:3b:4a:41:89:6c
6: dock1.999@dock1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
link/ether ... brd ff:ff:ff:ff:ff:ff
inet 192.168.99.41/24 brd 192.168.99.255 scope global dock1.999
valid_lft forever preferred_lft forever
- The route seems to be OK also : ip route show
default via 192.168.1.1 dev dock1 proto dhcp src 192.168.1.103 metric 100
169.254.0.0/16 dev dock1 scope link metric 1000
192.168.1.0/24 dev dock1 proto kernel scope link src 192.168.1.103 metric 100
192.168.99.0/24 dev dock1.999 proto kernel scope link src 192.168.99.41
- Everything works great with the default network (no VLAN)
-> For VLAN 999, ping and curl works great when I'm trying to access 192.168.99.254
But on Librewolf, Chromium, Midori ... I can't access the host ! It's always searching and nothing happen

Could you please help me understanding what I'm doing wrong please ?
Thanks in advance
Statistics: Posted by Doudou9 — 2024-03-07 15:54 — Replies 0 — Views 40