pptp vpn ip 変更後のルート生成

pptp vpn ip 変更後のルート生成

正常に動作するPPTP VPNがあり、ppp0 IPを変更したいのですが、そうするとルーティング設定が失われます。

これはすべてが機能するルーティングテーブルです。

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
default         *               0.0.0.0         U     0      0        0 ppp0
default         192.168.0.1     0.0.0.0         UG    303    0        0 wlan0
xxx-xxx-xx-xxx. 192.168.0.1     255.255.255.255 UGH   0      0        0 wlan0
192.168.0.0     *               255.255.255.0   U     303    0        0 wlan0
192.168.1.1     *               255.255.255.255 UH    0      0        0 ppp0
192.168.100.0   *               255.255.255.0   U     0      0        0 eth0

ppp0 IPを変更した後、私はこれを得ました

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
default         192.168.0.1     0.0.0.0         UG    303    0        0 wlan0
xxx-xxx-xx-xxx. 192.168.0.1     255.255.255.255 UGH   0      0        0 wlan0
192.168.0.0     *               255.255.255.0   U     303    0        0 wlan0
192.168.100.0   *               255.255.255.0   U     0      0        0 eth0

これらの2行をどのように元に戻すことができますか?

192.168.1.1     *               255.255.255.255 UH    0      0        0 ppp0
default         *               0.0.0.0         U     0      0        0 ppp0

ありがとうございます。

ベストアンサー1

おすすめ記事