nic_router: fix bad gateway values in README

Gateway configuration values contained a subnet prefix-length which is
not required nor accepted by the router.

Ref #4397
This commit is contained in:
Martin Stein 2022-01-21 15:42:25 +01:00 committed by Christian Helmuth
parent c049aed44f
commit 99eca9fa7e

View File

@ -899,7 +899,7 @@ following configuration:
! <policy label_prefix="virtnet_b" domain="virtnet_b" />
! <policy label_prefic="nic_drv" domain="home_lan" />
!
! <domain name="home_lan" interface="10.0.2.55/24" gateway="10.0.2.1/24">
! <domain name="home_lan" interface="10.0.2.55/24" gateway="10.0.2.1">
! <ip dst="192.168.1.0/24" domain="virtnet_a"/>
! <ip dst="192.168.2.0/24" domain="virtnet_b"/>
! </domain>
@ -939,7 +939,7 @@ internet. The router would have the following configuration:
! <policy label_prefix="virtnet_b" domain="virtnet_b" />
! <policy label_prefic="nic_drv" domain="home_lan" />
!
! <domain name="home_lan" interface="10.0.2.55/24" gateway="10.0.2.1/24">
! <domain name="home_lan" interface="10.0.2.55/24" gateway="10.0.2.1">
! <nat domain="virtnet_a" tcp_ports="1000" udp_ports="1000">
! </domain>
!