public void TestParseRule()
 {
     var systemFactory = new MockIptablesSystemFactory();
     var ipUtils       = new IpRouteController(systemFactory);
     var one           = ipUtils.ParseObjectInternal("default via 199.19.225.1 dev eth0", "to");
     var two           = ipUtils.ParseObjectInternal("10.128.1.0/24 dev tap0  proto kernel  scope link  src 10.128.1.201", "to");
 }
        public void TestParseRuleAnycastV6()
        {
            var systemFactory = new MockIptablesSystemFactory();
            var ipUtils       = new IpRouteController(systemFactory);
            var one           = ipUtils.ParseObjectInternal("anycast fe80:: dev tap0 table local proto kernel metric 0 pref medium", "to");

            ipUtils.ExportObject(one);
        }
        public void TestParseRuleLocal()
        {
            var systemFactory = new MockIptablesSystemFactory();
            var ipUtils       = new IpRouteController(systemFactory);
            var one           = ipUtils.ParseObjectInternal("local default dev lo  table 100  scope host", "to");

            ipUtils.ExportObject(one);
        }