Hey Olivier... Thank you very much for your help!

Thanks also the other guys that reached-me pvt.
(I'm so grateful for things like that.)


After your help, and a small struggle with the configs, I Reached a point
that "Looks good, we can go..."

Some things I couldn't digest it very well.
- This "everything at the rc.local" didn't make me very comfortable. I'll
try to get used to it.
- That "thing" of using underscore _ to split the parameters on rc.conf
made-me CRAZY!
  - And to make it even better, I just understood that thing of translating
".-/+" after reading the manual of rc.conf seeeeveral times ->
"JackieChanWhyWhyWhy.jpg"




I Still have a barrier on BSDRP basic deployments.
   -> Setting Fake-Mac on a Vlan!

P.S.: I workarounded assigning several interfaces on Hypervisor, but with a
bare metal it will no be possible.

I was able to set it directly on prompt using "ifconfig myvlan ether
11:22:33:44:55:66"
But I wasn't able to put it into rc.local in a way that worked.
Apparently, it just ignored that line.


Em qui., 5 de nov. de 2020 às 20:17, Olivier Cochard-Labbé <
oliv...@cochard.me> escreveu:

> On Thu, Nov 5, 2020 at 9:46 PM Douglas Fischer <fischerdoug...@gmail.com>
> 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
> Bsdrp-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bsdrp-users
>


-- 
Douglas Fernando Fischer
Engº de Controle e Automação
_______________________________________________
Bsdrp-users mailing list
Bsdrp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bsdrp-users

Reply via email to