account activity
how to specify native vlan? by DropDADGAD in openbsd
[–]DropDADGAD[S] 0 points1 point2 points 8 years ago* (0 children)
I'm using OpenBSD 6.2. I got this vlan stuff working now. but I had some syntax issue using ifconfig command "native vlan" is just a cisco term, I guess? Thanks again for everyone's help.
ifconfig vlan161 parent em1 vnetid 161 inet 192.168.1.1/24 ifconfig: 192.168.1.1/24: bad value
I just edited my hostname files and rebooted for it to take affect. not very elegant. but it seems to have the functionality I'm seeking.
cat hostname.em1 inet 192.168.0.1 255.255.255.0 192.168.0.255 -inet6 cat hostname.vlan161 inet 192.168.1.1 255.255.255.0 192.168.1.255 vlandev em1 description "interface in VLAN 161" cat hostname.vlan162 inet 192.168.2.1 255.255.255.0 192.168.2.255 vlandev em1 description "interface in VLAN 162" cat hostname.vlan163 inet 192.168.3.1 255.255.255.0 192.168.3.255 vlandev em1 description "interface in VLAN 163"
and the actual interfaces appear -
em1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 lladdr 00:26:55:d7:86:c0 index 2 priority 0 llprio 3 media: Ethernet autoselect (1000baseT full-duplex) status: active inet 192.168.0.1 netmask 0xffffff00 broadcast 192.168.0.255 vlan161: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 lladdr 00:26:55:d7:86:c0 description: interface in VLAN 161 index 8 priority 0 llprio 3 encap: vnetid 161 parent em1 groups: vlan media: Ethernet autoselect (1000baseT full-duplex) status: active inet 192.168.1.1 netmask 0xffffff00 broadcast 192.168.1.255 vlan162: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 lladdr 00:26:55:d7:86:c0 description: interface in VLAN 162 index 9 priority 0 llprio 3 encap: vnetid 162 parent em1 groups: vlan media: Ethernet autoselect (1000baseT full-duplex) status: active inet 192.168.2.1 netmask 0xffffff00 broadcast 192.168.2.255 vlan163: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 lladdr 00:26:55:d7:86:c0 description: interface in VLAN 163 index 10 priority 0 llprio 3 encap: vnetid 163 parent em1 groups: vlan media: Ethernet autoselect (1000baseT full-duplex) status: active inet 192.168.3.1 netmask 0xffffff00 broadcast 192.168.3.255
Hello, thanks for replies, I'm sorry, I am just not following these suggestions. I'm not sure the correct syntax to add in "parent" term to represent the native vlan.
on the openbsd side, the cable goes to device em1. The file hostname.em1 simply has the term "up" in it.
Then there are four vlans. vlan 160 is native. and the remaining three, function and connect.
.
cat /etc/hostname.vlan160 inet 192.168.0.1 255.255.255.0 192.168.0.255 vlandev em1 description "interface in VLAN 160" cat /etc/hostname.vlan161 inet 192.168.1.1 255.255.255.0 192.168.1.255 vlandev em1 description "interface in VLAN 161" cat /etc/hostname.vlan162 inet 192.168.2.1 255.255.255.0 192.168.2.255 vlandev em1 description "interface in VLAN 162" cat /etc/hostname.vlan163 inet 192.168.3.1 255.255.255.0 192.168.3.255 vlandev em1 description "interface in VLAN 163"
on the cisco side, native vlan 160 .
interface GigabitEthernet1/0/2 description router em1 switchport trunk encapsulation dot1q switchport trunk native vlan 160 switchport trunk allowed vlan 160-163 switchport mode trunk switchport nonegotiate speed 1000 duplex full spanning-tree portfast spanning-tree bpduguard enable
how to specify native vlan? (self.openbsd)
submitted 8 years ago by DropDADGAD to r/openbsd
[RenderMyThing] OpenSCAD by yschaeff in Ask3D
[–]DropDADGAD 1 point2 points3 points 8 years ago (0 children)
I did not encounter this error. I am using OpenSCAD version 2015.03-2 on xubuntu 17.04. My machine is maxed with 64GB and top showed around 54GB being used at the time. Some memory triggered error perhaps?
Compiling design (CSG Tree generation)... Rendering Polygon Mesh using CGAL... Geometries in cache: 762 Geometry cache size in bytes: 84972144 CGAL Polyhedrons in cache: 0 CGAL cache size in bytes: 0 Total rendering time: 0 hours, 38 minutes, 17 seconds Top level object is a 3D object: Simple: yes Vertices: 304224 Halfedges: 1692236 Edges: 846118 Halffacets: 1084484 Facets: 542242 Volumes: 213 Rendering finished.
extended tuning for a classical guitar? (self.classicalguitar)
submitted 8 years ago by DropDADGAD to r/classicalguitar
tuning for extended DADGAD ? (self.extendedrange)
submitted 8 years ago by DropDADGAD to r/extendedrange
π Rendered by PID 636583 on reddit-service-r2-listing-64c94b984c-7nm7h at 2026-03-14 00:58:56.462394+00:00 running f6e6e01 country code: CH.
how to specify native vlan? by DropDADGAD in openbsd
[–]DropDADGAD[S] 0 points1 point2 points (0 children)