From 13fb897396a853cc3e73869d051c6119e13a34f8 Mon Sep 17 00:00:00 2001 From: alvis Date: Mon, 22 Dec 2025 16:55:52 +0000 Subject: [PATCH] Add Network --- Network.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 Network.md diff --git a/Network.md b/Network.md new file mode 100644 index 0000000..9067c5a --- /dev/null +++ b/Network.md @@ -0,0 +1,18 @@ +This is high-priority, because changing Netplan will switch down ssh session. + +Change /etc/netplan/**.yaml : + +``` +blabla + bridges: + br0: + interfaces: [enp3s0] +``` + +then `sudo netplan apply` + +Note that MAC of the device will change, so IP can also change and ssh session will not re-appear. + +Note that changing net or device config of host may change the name of enp3s0 interface, and reconfiguration will be needed. + +AFTER HELL AMOUNT OF TIME I figured out that router setting remote IP is not MY ip, but the machine that sends requests remote ip, so just need to keep empty! fuck. also, access from intranet by ip does not actually goes outside the intranet. fuck. \ No newline at end of file