跳至主要內容

Mac同时访问内外网

pptg小于 1 分钟

路由配置

网络顺序: wifi、有线网络
有线网络路由(内网): 192.168.110.254

# Terminal
# 1. 查看域名对应的ip
nslookup xxx.com
# 2. ip添至路由
sudo route add x.x.x.x 192.168.110.254

10.158.231.10  # 研发云
10.141.72.74   # 邮箱前端
182.42.132.214 # 邮箱 pop
182.42.132.177 # 邮箱 smtp
222.175.199.86 # 驰云
192.168.80.195 # 新oa
192.168.80.72  # 老oa

sudo route add 10.158.231.10 192.168.110.254  # 研发云
sudo route add 10.141.72.74 192.168.110.254   # 邮箱前端
sudo route add 182.42.132.0/8 192.168.110.254 # 邮箱
sudo route add 192.168.80.0/8 192.168.110.254 # oa
sudo route add 222.175.199.86 192.168.110.254 # 驰云