Skip to content

Instantly share code, notes, and snippets.

@nurrony
Last active October 24, 2023 12:09
Show Gist options
  • Save nurrony/052cab9f7ab90b588be858e9f643f52d to your computer and use it in GitHub Desktop.
Save nurrony/052cab9f7ab90b588be858e9f643f52d to your computer and use it in GitHub Desktop.
network route
network:
version: 2
ethernets:
enp0s25: # Your Ethernet interface name (use 'ifconfig' or 'ip a' to find it)
dhcp4: true
optional: true
routes:
- to: 0.0.0.0/0
via: 192.168.1.1 # Your wired gateway IP
metric: 100
wifis:
wlp3s0: # Your WiFi interface name (use 'ifconfig' or 'ip a' to find it)
dhcp4: true
optional: true
routes:
- to: 0.0.0.0/0
via: 192.168.0.1 # Your WiFi gateway IP
metric: 200
[connection]
id=ITC3
uuid=8c2f438f-6172-44e4-a117-32ce8abce537
type=wifi
interface-name=wlp4s6
permissions=
timestamp=1695819160
[wifi]
mac-address-blacklist=
mode=infrastructure
seen-bssids=10:27:F5:03:FB:BB;
ssid=ITC3
[wifi-security]
key-mgmt=wpa-psk
psk=itccanada
[ipv4]
dns-search=
method=auto
[ipv6]
addr-gen-mode=stable-privacy
dns-search=
method=auto
[proxy]
[connection]
id=Wired connection 1
uuid=56a5080a-cdf3-304b-9119-c3632ae86a70
type=ethernet
autoconnect-priority=-999
interface-name=enp3s0
permissions=
timestamp=1696239996
[ethernet]
mac-address-blacklist=
[ipv4]
address1=10.237.178.66/29,10.237.178.65
dns-search=
ignore-auto-routes=true
method=manual
route1=10.60.7.170/29,10.237.178.65,100
[ipv6]
addr-gen-mode=stable-privacy
dns-search=
method=auto
[proxy]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment