1.修改配置文件blacklist.conf禁用IPV6 sudo vi /etc/modprobe.d/blacklist.conf 在配置文件最后添加 blacklist ipv6 2.设置网卡eth0的IP地址和子网掩码 sudo ifconfig eth0 192.168.2.1 netmask 255.255.255.0 将IP地址改为:192.168.2.1,子网掩码改为:255.255.255.0 备注:该命令直接即时生效,重启失效,因此必须...
ip - show / manipulate routing, devices, policy routing and tunnels SYNOPSIS ip[OPTIONS]OBJECT{COMMAND|help}ip[-force]-batchfilenameOBJECT:= {link|addr|addrlabel|route|rule|neigh|ntable|tunnel|tuntap|maddr|mroute|mrule|monitor|xfrm|netns|l2tp|tcp_metrics}OPTIONS:= {-V[ersion] |-s[tatisti...
ip-route - routing table management SYNOPSIS ip [ ip-OPTIONS ] route { COMMAND | help } ip route { show | flush } SELECTOR ip route save SELECTOR ip route restore ip route get ROUTE_GET_FLAGS [ to ] ADDRESS [ from ADDRESS iif STRING ] [ oif STRING ] [ mark MARK ] [ tos TOS...
d.f.ip6.arpa home internal intranet lan local private test Link 2 (ens32) Current Scopes: DNS LLMNR setting: yes MulticastDNS setting: no DNSSEC setting: no DNSSEC supported: no DNS Servers: 114.114.114.114 8.8.8.8 root@zxl:~# route -n Kernel IP routing table Destination Gateway Genmask ...
Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 0.0.0.0 192.168.100.2 0.0.0.0 UG 0 0 0 ens32 192.168.100.0 0.0.0.0 255.255.255.0 U 0 0 0 ens32 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12.
-i, --info show internal TCP information --显示内部tcp信息 -s, --summary show socket usage summary --连接统计 -4, --ipv4 display only IP version 4 sockets --显示ipv4的socket -6, --ipv6 display only IP version 6 sockets --显示ipv6的socket ...
show database use mysql select * form db 12. 1)建表敲create table bfxd(userId varchar(8),userName varchar(8)); 2)然后use bfxd;--->指要在这个数据库上建表 3)create table users(userId varchar(8),userName varchar(8)); ...
device and name ofprodand its configuration file would be/etc/wireguard/prod.conf. Each tunnel configuration can contain different IPv4, IPv6, and client firewall settings. In this way you can support multiple different peer connections, each with their own unique IP addresses and routing rules....
Those default routes can only defined once per IP family and routing table. A typical example would look like the following: eth0: [...] routes: - to: default # could be 0/0 or 0.0.0.0/0 optionally via: 10.0.0.1 metric: 100 on-link: true - to: default # could be ::/0 ...
5.1-to:192.168.5.0/24via:192.168.5.1table:102routing-policy:-from:192.168.5.0/24table...