You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficcontrol.apache.org by GitBox <gi...@apache.org> on 2019/06/25 15:12:23 UTC

[GitHub] [trafficcontrol] dangogh commented on issue #3264: CIAB: Dynamically detect server netmask

dangogh commented on issue #3264: CIAB: Dynamically detect server netmask
URL: https://github.com/apache/trafficcontrol/pull/3264#issuecomment-505489552
 
 
   I see the same problem -- here's the output from your method:   ```
   [root@trafficops-perl app]# INTERFACE=$(find /sys/class/net -type l '!' -name lo -exec basename '{}' \;)
   [root@trafficops-perl app]# echo $INTERFACE
   tunl0 eth0 ip6tnl0
   [root@trafficops-perl app]# NETMASK=$(route |grep -v default |grep $INTERFACE |awk '{print $3}')
   grep: eth0: No such file or directory
   grep: ip6tnl0: No such file or directory
   ```
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services