On Thu, Nov 5, 2020 at 9:46 PM Douglas Fischer <[email protected]> wrote:
> Hello all! > > Hi, > I'm starting now with BSDRP, with good recommendations of several friends. > And My Option for BSDRP was exactly because of the BIRD. > I Don't Know any other project that supports BIRD as a Routing > Engine(Congrats for that!). > > But I'm not a BSD guy, and I'm stuck on very basic things like: > - How to create a VLAN? > Any FreeBSD user guide should be able to help you, as example for VLAN: https://www.freebsd.org/doc/handbook/network-vlan.html Example: sysrc vlans_igb2="monitoring" sysrc create_args_monitoring="vlan 2" sysrc ifconfig_monitoring="inet 192.168.20.20/24" service netif restart # ifconfig monitoring monitoring: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 options=4600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6,NOMAP> ether 00:0d:b9:45:79:e6 inet 192.168.20.20 netmask 0xffffff00 broadcast 192.168.20.255 inet6 fe80::20d:b9ff:fe45:79e6%monitoring prefixlen 64 scopeid 0x6 groups: vlan vlan: 2 vlanpcp: 0 parent interface: igb2 media: Ethernet autoselect (1000baseT <full-duplex>) status: active nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL> > - How to force different MAC Address to an Interface? > > Yes this is not well documented, and I've never tested that. But one of possible way is this one: # ifconfig igb2 ether igb2: flags=8863<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 options=4e120bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,WOL_MAGIC,VLAN_HWFILTER,RXCSUM_IPV6,TXCSUM_IPV6,NOMAP> ether 00:0d:b9:45:79:e6 sysrc ifconfig_igb2="inet 192.168.20.20/24" sysrc ifconfig_igb2_alias0="ether 2b:3b:4b:5b:6b:7b" service netif restart # ifconfig igb2 ether igb2: flags=8863<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 options=4e120bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,WOL_MAGIC,VLAN_HWFILTER,RXCSUM_IPV6,TXCSUM_IPV6,NOMAP> ether 2b:3b:4b:5b:6b:7b hwaddr 00:0d:b9:45:79:e6 > Beyond that, considering the barrier of Ubuntu->BSD, I had some > difficulties like: > "How to assign an IPv4/IPv6 address to and an interface?(Considering I'm > not using FRR.)" > > Same : Any FreeBSD guide, and some configuration on the BSDRP wiki: https://bsdrp.net/documentation/examples Example: sysrc ifconfig_em0="inet 10.0.12.2/24" sysrc ifconfig_em0_ipv6="inet6 2001:db8:12::2 prefixlen 64" service netif restart Regards, Olivier
_______________________________________________ Bsdrp-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/bsdrp-users
