Skip to content

Inconsistency in referring to an Interface by RIP config #335

@ManiAm

Description

@ManiAm

In the IPv4Configurator config parameter, interfaces are referred to as eth0, eth1, but in the RIP config, interface names are referred to as eth[0] or eth[1].

IPv4 config:

<config>
	<interface hosts='host{0-6} whost{0,1} router*' address='10.x.x.x' netmask='255.x.x.x'/>
    <route hosts='host*' destination='*' netmask='0.0.0.0' interface='eth0' />
    <route hosts='whost*' destination='*' netmask='0.0.0.0' interface='wlan0' />
</config>

RIP Config:

<config>
	<interface names='eth[1]' mode='NoRIP' />
	<interface names='eth[3]' mode='NoRIP' />
	<interface metric='1' />
</config>

Users might find it confusing that RIP refers to interfaces as eth[0], eth[1] and not eth0, eth1 and they might scratch their head for hours figuring out what went wrong :p

P.S. For a working example, you can refer to the scenario I attached in #333.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions