diff options
author | Jon Clausen <jac@nordu.net> | 2018-09-04 09:28:44 +0200 |
---|---|---|
committer | Jon Clausen <jac@nordu.net> | 2018-09-04 09:28:44 +0200 |
commit | 43a34e6a6d2ff59f677019b2df6ae1d82895f838 (patch) | |
tree | c6c270389ba220d9578b2c13d8b35df56a25a73a /ks-template/hw/dell/R7425 | |
parent | d6563d0c367d0a58f4551b18e66261670c8c5b6d (diff) |
support for secondary GW, and route+rule on sec interface
Diffstat (limited to 'ks-template/hw/dell/R7425')
-rw-r--r-- | ks-template/hw/dell/R7425/100g-dtn.ks | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ks-template/hw/dell/R7425/100g-dtn.ks b/ks-template/hw/dell/R7425/100g-dtn.ks index 60f643b..c44156b 100644 --- a/ks-template/hw/dell/R7425/100g-dtn.ks +++ b/ks-template/hw/dell/R7425/100g-dtn.ks @@ -72,6 +72,12 @@ yum install -y rngd systemctl enable rngd systemctl start rngd +# Set up secondary interface routing: +echo -e "1024\tmi-01" >>/etc/iproute2/rt_tables +echo "default table mi-01 via SECGATEWAY" \ + >/etc/sysconfig/network-scripts/route-p7p1 +echo "from SECGATEWAY table mi-01" >/etc/sysconfig/network-scripts/rule-p7p1 + # try to get access to the screen: #exec < /dev/tty6 > /dev/tty6 #chvt 6 |