Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
en:veos:first_install:ipsetincenos [2023/09/04 09:34] – ↷ Page moved from en:dpi:dpi_components:platform:faq:first_install:ipsetincenos to en:veos:first_install:ipsetincenos elena.krasnobryzh | en:veos:first_install:ipsetincenos [2024/09/26 15:29] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== | + | ====== |
+ | {{indexmenu_n> | ||
+ | |||
+ | - Interface configuration using DHCP service example: <code bash># | ||
+ | DEVICE=eth0 | ||
+ | BOOTPROTO=dhcp | ||
+ | HWADDR= 00-19-DB-AD-19-99 | ||
+ | ONBOOT=yes</ | ||
+ | - Interface configuration using manually set parameters: <code bash># | ||
+ | DEVICE=eth0 | ||
+ | HWADDR= 00-19-DB-AD-19-99 | ||
+ | IPADDR=192.168.1.2 | ||
+ | NETMASK=255.255.255.0 | ||
+ | BROADCAST=192.168.1.255 | ||
+ | GATEWAY=192.168.1.1 | ||
+ | ONBOOT=yes | ||
+ | DNS1=8.8.8.8 | ||
+ | DNS2=8.8.4.4</ | ||
+ | |||
+ | To check the interface configuration: | ||
+ | <code bash> | ||
+ | ifconfig eth0 | ||
+ | </ | ||
+ | |||
+ | To check the routes: | ||
+ | <code bash> | ||
+ | netstat -r | ||
+ | </ | ||
+ | |||
+ | To restart the interface and to apply the new settings: | ||
+ | <code bash> | ||
+ | ifdown eth0 - disable | ||
+ | ifup eth0 - enable | ||
+ | </ |