nixCraft Linux Forum

nixCraft

Linux Tech Support Forum

OpenBSD get or display network card IP address Subnet mask information

This is a discussion on OpenBSD get or display network card IP address Subnet mask information within the Getting started tutorials forums, part of the Linux Getting Started category; The ifconfig command is used to assign an address to a network interface and/or configure network interface parameters. It can ...


Go Back   nixCraft Linux Forum > Linux Getting Started > Getting started tutorials

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 06-15-2007, 10:06 PM
rockdalinux's Avatar
Contributors
User
 
Join Date: May 2005
Location: Bangalore
My distro: RHEL, HP-UX, Solaris, FreeBSD, Ubuntu
Posts: 554
Rep Power: 6
rockdalinux is a jewel in the rough rockdalinux is a jewel in the rough rockdalinux is a jewel in the rough
Default OpenBSD get or display network card IP address Subnet mask information

The ifconfig command is used to assign an address to a network interface and/or configure network interface parameters. It can also used to display network card information such as Subnet mask, IP address and much more.

Command to display network card Information
Type ifconfig
Code:
ifconfig
Generally you will see lo0 (loopback) and network card interface such as ra0 along with IP, netmask etc (look for inet 10.0.0.38 netmask 0xffffff00 broadcast 10.0.0.255 line)

You will also find several other interfaces come enabled by default. These are virtual interfaces that serve various functions under OpenBSD:
  1. lo - Loopback Interface
  2. pflog - Packet Filter Logging Interface
  3. sl - SLIP Network Interface
  4. ppp - Point to Point Protocol
  5. tun - Tunnel Network Interface
  6. enc - Encapsulating Interface
  7. bridge - Ethernet Bridge Interface
  8. vlan - IEEE 802.1Q Encapsulation Interface
  9. gre - GRE/MobileIP Encapsulation Interface
  10. gif - Generic IPv4/IPv6 Tunnel Interface
  11. carp - Common Address Redundancy Protocol Interface

Read man OpenBSD man page
Code:
man ifconfig
man gre
man ppp
man gif
__________________
Rocky Jr.
You may have my body & soul, but you will never touch my pride!

If you have knowledge, let others light their candles at it.

Certified to work on HP-UX / Sun Solaris / RedHat
Reply With Quote
Sponsored Links
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
How do I configure the network card from the command line? jerry Linux software 4 09-17-2007 03:52 PM
Display Linux kernel information sweta Getting started tutorials 0 07-27-2007 07:00 AM
OpenBSD configure change DNS name server IP address - DNS Client Resolution rockdalinux Getting started tutorials 0 06-15-2007 10:14 PM
Linux find subnet mask commands chiku Linux software 1 12-06-2006 02:28 AM
network card not being recognized Linux software 1 01-28-2006 11:25 AM


All times are GMT +5.5. The time now is 12:05 AM.


Powered by vBulletin® Version 3.7.2 - Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36