This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
linux:general:network [2018/01/03 13:16] – lunetikk | linux:general:network [2018/03/19 15:39] – lunetikk | ||
---|---|---|---|
Line 8: | Line 8: | ||
| 25 | SMTP | | | 25 | SMTP | | ||
| 80 | HTTP | | | 80 | HTTP | | ||
- | | 111 + 2049 | NFS | | + | | 111 + 2049 | |
- | | 137 + 139 | TCP/UDP - SMB/ | + | | 137 + 139 + 445 |
| 443 | HTTPS | | | 443 | HTTPS | | ||
| 8080 | Proxy | | | 8080 | Proxy | | ||
Line 77: | Line 77: | ||
</ | </ | ||
- | ==== Change your IP ==== | + | ==== Change your IP (Ubuntu) |
Edit / | Edit / | ||
Line 97: | Line 97: | ||
< | < | ||
/ | / | ||
+ | </ | ||
+ | < | ||
+ | ifdown eth0 && ifup eth0 | ||
</ | </ | ||
+ | ==== Change your IP (SLES11/12) ==== | ||
+ | |||
+ | Edit / | ||
+ | < | ||
+ | sudo vi / | ||
+ | </ | ||
+ | and add | ||
+ | < | ||
+ | DEVICE=' | ||
+ | BOOTPROTO=' | ||
+ | STARTMODE=' | ||
+ | USERCONTROL=' | ||
+ | BROADCAST='' | ||
+ | ETHTOOL_OPTIONS='' | ||
+ | IPADDR=' | ||
+ | MTU='' | ||
+ | NAME='' | ||
+ | NETMASK=' | ||
+ | NETWORK='' | ||
+ | REMOTE_IPADDR='' | ||
+ | </ | ||
+ | |||
+ | Edit gateway / | ||
+ | < | ||
+ | sudo vi / | ||
+ | </ | ||
+ | and add | ||
+ | < | ||
+ | default 10.0.0.1 - eth0 | ||
+ | #default 10.0.0.1 - - | ||
+ | </ | ||
+ | |||
+ | Restart your networkinterface | ||
+ | |||
+ | SLES11 | ||
+ | < | ||
+ | / | ||
+ | </ | ||
+ | |||
+ | SLES12 | ||
+ | < | ||
+ | ifdown eth0 && ifup eth0 | ||
+ | </ | ||
==== Join a domain and change hostname ==== | ==== Join a domain and change hostname ==== |