IPSO 4.2 netstat parsing broken in MT?

Reply
Highlighted
L3 Networker

IPSO 4.2 netstat parsing broken in MT?

MT 3.1 - IPSO netstat output isn't being parsed correctly.

Here's sample output from:  netstat -f inet -rn

# netstat -f inet -rn

Routing tables:

IPv4: instance 0 name "default"

Destination        Gateway            Flags     Refs     Use        Netif Expire

default            100.200.30.225     iCSU      203        0  eth-s1/s1p1c0

                   100.200.30.226     iCSU      203        0  eth-s1/s1p1c0

0.0.0.0                               lCSU        1        0

10.0.0.1           100.200.30.225     iSUW        1        0  eth-s1/s1p1c0

                   100.200.30.226     iSUW        1        0  eth-s1/s1p1c0

10.45.37.16        99.111.5.253       iCSU        0        0     eth-s3p1c0

10.87.236.211      100.200.30.225     iSUW        3        0  eth-s1/s1p1c0

                   100.200.30.226     iSUW        3        0  eth-s1/s1p1c0

10.163.19.50       99.111.5.253       iCSU        0        0     eth-s3p1c0

10.206.9/24        99.111.5.253       iCSU        0        0     eth-s3p1c0

30.150.2/23                           rCGSU       0        0     eth-s3p1c0

30.150.2.0         30.150.2.0         lCGSU       1        0     eth-s3p1c0

30.150.2.37        30.150.2.37        lCGSU       1        0     eth-s3p1c0

126.210.88.127     100.200.30.225     iSUW        1        0  eth-s1/s1p1c0

                   100.200.30.226     iSUW        1        0  eth-s1/s1p1c0

127/8                                 BCSU        0        0

127.0.0.1          127.0.0.1          lCG         1        0

129.245.25/24      99.111.5.253       iCSU        0        0     eth-s3p1c0

135.198.68.93      101.201.31.49      iSUW        6        0  eth-s1/s1p2c0

                   101.201.31.50      iSUW        6        0  eth-s1/s1p2c0

135.198.68.96      101.201.31.49      iSUW        3        0  eth-s1/s1p2c0

                   101.201.31.50      iSUW        3        0  eth-s1/s1p2c0

135.198.68.97      101.201.31.49      iSUW        9        0  eth-s1/s1p2c0

                   101.201.31.50      iSUW        9        0  eth-s1/s1p2c0

101.201.31.48/28                      rCGSU       0        0  eth-s1/s1p2c0

101.201.31.49      0:1c:f9:1e:4c:0    iCGSU       0        0  eth-s1/s1p2c0

101.201.31.50      0:1c:f9:1e:5c:0    iCGSU       0        0  eth-s1/s1p2c0

101.201.31.51      0:0:c:7:ac:1       iCGSU       0        0  eth-s1/s1p2c0

101.201.31.52      101.201.31.52      lCGSU       0        0  eth-s1/s1p2c0

101.201.31.53      0:a0:8e:85:f5:39   iCGSU       0        0  eth-s1/s1p2c0

101.201.31.54      101.201.31.54      lCGSU       0        0  eth-s1/s1p2c0

101.201.31.63      101.201.31.63      lCGSU       0        0  eth-s1/s1p2c0

100.200.30.224/27                     rCGSU       0        0  eth-s1/s1p1c0

172.29.1.0/28                         rCGSU       0        0     eth-s3p3c0

172.29.1.0         172.29.1.0         lCGSU       1        0     eth-s3p3c0

172.29.1.1         172.29.1.1         lCGSU       0        0     eth-s3p3c0

172.29.1.2         0:a0:8e:85:f5:52   iCGSU       0        0     eth-s3p3c0

172.29.1.15        172.29.1.15        lCGSU       0        0     eth-s3p3c0

172.29.2.0/28                         rCGSU       0        0     eth-s3p4c0

172.29.2.0         172.29.2.0         lCGSU       1        0     eth-s3p4c0

172.29.2.1         172.29.2.1         lCGSU       0        0     eth-s3p4c0

172.29.2.2         0:a0:8e:85:f5:53   iCGSU       0        0     eth-s3p4c0

172.29.2.15        172.29.2.15        lCGSU       0        0     eth-s3p4c0

224/4                                 RCSU        0        0

224.0.0/24                            RCSU        0        0

224.0.0.1                             gCDSU       0        0

224.0.0.5                             gCDSU       1        0

224.0.0.18                            gCDSU       0        0

224.0.1.144                           BCSU        0        0

224.29.1.250                          gCDSU       0        0

224.29.2.250                          gCDSU       0        0

240/4                                 BCSU        0        0

255.255.255.255                       RCGSU       0        0

L7 Applicator

Re: IPSO 4.2 netstat parsing broken in MT?

Is not importing anything? If answer is no please remove the first lines until to keep starting here:


Destination        Gateway            Flags     Refs     Use        Netif Expire 

default            100.200.30.225     iCSU      203        0  eth-s1/s1p1c0


Remember that now you can generate the routes as a CSV file and import into your Vritual Router using the CSV importation and selecting Static Routes.

Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the Live Community as a whole!

The Live Community thanks you for your participation!