Skip to Content.

rare-users - Re: [RARE-users] [freertr] freeRouter rpms for CentOS and Fedora

Subject: RARE user and assistance email list

List archive


Re: [RARE-users] [freertr] freeRouter rpms for CentOS and Fedora


Chronological Thread 
  • From: "mc36" <>
  • To:
  • Cc: "" <>
  • Subject: Re: [RARE-users] [freertr] freeRouter rpms for CentOS and Fedora
  • Date: Thu, 20 Jan 2022 23:06:39 +0100
  • List-id: <freertr.groups.io>
  • Mailing-list: list ; contact

hi

On 1/20/22 22:51, mc36 wrote:

Instead of using my builds I started learning freeRouter with
preconfigured vm http://dl.nop.hu/rtr.qcow2 in GNS3. I connected
freeRouter ethernet1 with interface eth0 in CentOS 8 vm.
If I configure ipv4 addresses on ethernet1 and eth0 then ping revives
responses.
But if I create vlan subinterface then on freeRouter side packets
dropped (drop counter increased).

vrf definition vrf1000
exit
!
interface ethernet1
no description
no shutdown
no log-link-change
exit
!
interface ethernet1.1000
no description
vrf forwarding vrf1000
ipv4 address 10.0.0.1 255.255.255.0
no shutdown
no log-link-change
exit
!
yourname#show interfaces summary
interface state tx rx drop
ethernet1 up 204 220 220
ethernet1.1000 up 180 0 0

tcpdump on CentOS vm:
16:22:04.852869 0c:54:92:93:00:00 > ff:ff:ff:ff:ff:ff, ethertype
802.1Q (0x8100), length 48: vlan 1000, p 0, ethertype ARP, Request
who-has 10.0.0.2 tell 10.0.0.1, length 30
16:22:04.852930 0c:74:2f:51:00:00 > 0c:54:92:93:00:00, ethertype
802.1Q (0x8100), length 46: vlan 1000, p 0, ethertype ARP, Reply
10.0.0.2 is-at 0c:74:2f:51:00:00, length 28
16:22:05.854054 0c:54:92:93:00:00 > ff:ff:ff:ff:ff:ff, ethertype
802.1Q (0x8100), length 48: vlan 1000, p 0, ethertype ARP, Request
who-has 10.0.0.2 tell 10.0.0.1, length 30
16:22:05.854085 0c:74:2f:51:00:00 > 0c:54:92:93:00:00, ethertype
802.1Q (0x8100), length 46: vlan 1000, p 0, ethertype ARP, Reply
10.0.0.2 is-at 0c:74:2f:51:00:00, length 28

Configuration parameter that I found in some file from /cfg/ fails
yourname(cfg-subif)#encapsulation dot1q 1000
invalid command, try encapsulation dot1q ?

Am I doing something wrong?


it's not your fault, it's how that image was built...
if you replace in /rtr/rtr-hw.txt the rawInt lines to pcapInt then imho it'll
solve the problem:
so not all native inferface drivers can process well the vlan tags, pcap is
the safe bet for this...

it's quite new that all the binaries are within that vm image, and rawint was
used and developed
becase it have no dependencies at all... (adding all th binaries bumped the
image by 10mb!)
but those times are gone, now i'm packing all the bins so i'll update the vm
creation to use
the pcapint instead.... thanks for the report! :)


here we goo:
https://github.com/mc36/freeRouter/commit/dfb58b5282595c68c3c2165f55086e9d9aae5efd
so i forgot to mention that freerouter hides the linux completely from you so
editing /rtr/rtr-hw.txt
is a bit hard... you should try "flash commander", and mc fn keys or "flash editor
/rtr/rtr-hw.txt"...
or even easier if you redownload the qcow... :)

regards,
cs


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#129): https://groups.io/g/freertr/message/129
Mute This Topic: https://groups.io/mt/88570753/6413194
Group Owner:
Unsubscribe: https://groups.io/g/freertr/unsub []
-=-=-=-=-=-=-=-=-=-=-=-





Archive powered by MHonArc 2.6.19.

Top of Page