Status : Draft
Kasus 1
Server terkoneksi dengan LAN yang tidak terkoneksi ke internet ..., kita ingin tethering via HP yang terkoneksi via Wifi.
Lihat ethernet device yg tersedia
$ifconfig
....
enp0s20u10 Link encap:Ethernet HWaddr 02:5f:6f:30:61:34
inet addr:192.168.42.86 Bcast:192.168.42.255 Mask:255.255.255.0
inet6 addr: fe80::f3cc:8911:dd0c:5588/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:752 errors:0 dropped:0 overruns:0 frame:0
TX packets:732 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:662531 (662.5 KB) TX bytes:112711 (112.7 KB)
....
update dhcp :
$sudo dhclient enp0s20u10
tambahkan routing default :
sudo route del default gw 192.168.42.86
No comments:
Post a Comment