blob: d7465690f22942e54a72fbb528c12dea06e94288 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
link 0 down
link 0 config 202.16.100.21 24
link 0 up
link 1 down
link 1 config 172.16.40.21 24
link 1 up
; uncomment to enable static NAPT
;p <cgnapt pipeline id> entry addm <prv_ipv4/6> prvport> <pub_ip> <pub_port> <phy_port> <ttl> <no_of_entries> <end_prv_port> <end_pub_port>
;p 5 entry addm 202.16.100.20 1234 152.16.40.10 1 0 500 65535 1234 65535
; uncomment below lines to enable static arp
;p 1 arpadd 0 202.16.100.20 00:00:00:00:00:01
;p 1 arpadd 1 172.16.40.20 00:00:00:00:00:02
; uncomment below lines to enable static arp
;p 1 arpadd 0 0064:ff9b:0:0:0:0:ca10:6414 00:00:00:00:00:01
;p 1 arpadd 1 0064:ff9b:0:0:0:0:ac10:2814 00:00:00:00:00:02
routeadd 0 202.16.100.20 0xff000000
routeadd 1 172.16.40.20 0xff000000
; routeadd <net/host> <port #> <ipv4 nhip address in decimal> <Mask/NotApplicable>
;routeadd net 0 0064:ff9b:0:0:0:0:ca10:6414 64
;routeadd net 1 0064:ff9b:0:0:0:0:ac10:6414 64
|