tmp 20220606
ip.addr ==192.168.1.102
ip.src ==192.168.1.102
ip.dst==192.168.1.102
ip
Http模式过滤 http.request.method=="GET
netsh interface ip set address name="本地连接" source=static addr=192.168.36.153 mask=255.255.255.0 gateway=192.168.36.1
下面是,设置DNS为动态获取的命令:
netsh interface ip set dns name="本地连接" source=dhcp
设置首选DNS服务器地址:
netsh interface ip set dns name="本地连接" source=static addr=101.226.4.6 register=primary
netsh interface ip set dns name="以太网 2" source=static addr=101.226.4.6 register=primary
后面的register参数不加也可以
设置备用DNS服务器地址:
netsh interface ip add dns name="本地连接" addr=114.114.114.114 index=2
netsh interface ip add dns name="以太网 2" addr=114.114.114.114 index=2
netsh interface ip set address name="本地连接" static 192.168.88.223 255.255.255.0 192.168.88.1 1
netsh interface ip set address name="Ethernet0" static 192.168.88.223 255.255.255.0 192.168.88.1 1
netsh interface ip set address name="Ethernet0" static 192.168.0.126 255.255.255.0 192.168.0.1 1
netsh interface ip set address name="Ethernet0" static 192.168.0.126 255.255.255.0 192.168.0.1 1
