Thursday, 20 October 2016

Adding IP aliases in FreeBSD - Freebsd ifconfig add Remove Alias IPv4 / IPv6 / inet6

FreeBSD Assign IPv4 address
: # ifconfig em0 inet 192.168.10.5 netmask 255.255.255.0
FreeBSD ifconfig add alias for IPv4
: # ifconfig em0 inet 192.168.10.10/24 add
FreeBSD ifconfig remove alias for IPv4
: # ifconfig em0 inet 192.168.10.10/24 -alias
For IPv6
FreeBSD Enable IPv6 functionality of the interface:
: # ifconfig em0 inet6 -ifdisabled
FreeBSD Add the IPv6 address 2001:DB8:DBDB::123/48 to the interface em0:
: # ifconfig em0 inet6 2001:db8:bdbd::123 prefixlen 48 alias
FreeBSD ifconfig remove/delete Alias for IPv6 inet6
: # ifconfig em0 inet6 2001:db8:bdbd::123/48 delete

4 comments:

  1. Je vous invite à vous informer sur l'affaire jean jacque perrut ici

    ReplyDelete
  2. This article is very engaging. I enjoyed reading every part of it. Keep posting more.training servicenow

    ReplyDelete
  3. This article is very engaging. Learners across the country can join MuleSoft Training India to gain practical integration knowledge and improve career opportunities in enterprise technologies.

    ReplyDelete
  4. An android mobile app development course focuses on teaching how to create feature-rich applications for Android devices. It explains development tools, coding standards, and application architecture clearly. This android mobile app development course helps students gain hands-on experience through real-time projects. Learners develop practical applications and understand development workflows. The course prepares learners for careers in mobile app development.

    ReplyDelete