Sponsored Content
Special Forums IP Networking ifconfig: difference between creating logical or alias network interface Post 90343 by RTM on Monday 21st of November 2005 09:51:04 PM
Old 11-21-2005
See the man page on ifconfig for more info.

(As an example, I'm using hme0 - your interface may be different)

You can set up a logical/virtual interface by setting the IP or a hostname in a /etc/hostname.hme0:1. If you use a hostname, it has to be in /etc/hosts. And you can either reboot or use the ifconfig command to set up the logical/virtual interface.

ifconfig plumb hme0:1 inet 172.16.1.2 netmask 255.255.255.0 broadcast 172.16.1.0 up
 

10 More Discussions You Might Find Interesting

1. IP Networking

OpenBSD + Network +ifconfig

This feels really silly, but i just dont get it.. I just installed openbsd on one of my machines, usually i dont have this problem, but now, when i try to use ifconfig to give myself an ipadress, i get this errormsg: OpenAMD# ifconfig ep0 192.168.51.16 ifconfig: SIOCGIFFLAGS: Device not... (5 Replies)
Discussion started by: CopyWrong
5 Replies

2. UNIX for Dummies Questions & Answers

Error in creating logical partition

Dear Members, I am using SCO-Unix 5.0.5. I have created 2 logical drives but some of the blocks are overlapped and are now giving warning during startup. I have used fsck to settle the problems but to no avail. Kindly help me to sort out the problem. Thanks (3 Replies)
Discussion started by: nagendrajaiswal
3 Replies

3. Solaris

Not showing n/w interface name in Solaris with ifconfig -a

hi frineds in sunfire 6800 server for one domain when ever i am giving ifconfig -a interface names like hme0,hme1.......are not showing.Actually in the server hme0,hme1,qfe are showing .when i was tried with the cat /etc/path_to_intstshowing tphysical interfcace names . after giving the... (2 Replies)
Discussion started by: tv.praveenkumar
2 Replies

4. Solaris

configure zones to have different network interface and network

i need to configure a zone to use different interface (bge2) than global and have connected to completely different network switch & to use its own defaultrouter and hosts file .. is it possible ..if so ..how ? Thanks (9 Replies)
Discussion started by: skamal4u
9 Replies

5. HP-UX

Creating a logical volume file

Hi to all, I am brand new to HP-UX but am quite familiar with Linux systems (Red Hat, Ubuntu etc..) I've just taken over a new HP-UX box and trying to work out how to create a logical volume. As well as creating the volume, which I am sure is very easy I need to create a special character... (6 Replies)
Discussion started by: jamie2teach
6 Replies

6. UNIX and Linux Applications

Access to network interface (Mac-network)

Hi, I'm a italian student. For my thesis I develop a gateway with protocol 6lowpan. For that I must access to network interface to develope my personal stack based on standard 802.15.4. Can you help me? I need an explanation for that. (0 Replies)
Discussion started by: berny88
0 Replies

7. Solaris

No network cable But Network interface is UP and Running

I've one Netra 240 After changing main board and system configuration card reader, Network is not accessible any more, Network interfaces are always UP and Running even when there is no cable connected to Network interfaces. I tried to restart and plumb/unplumb with no luck. ifconfig -a... (7 Replies)
Discussion started by: samer.odeh
7 Replies

8. Homework & Coursework Questions

Creating a .profile, displaying system variables, and creating an alias

Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted! 1. The problem statement, all variables and given/known data: Here is what I am supposed to do, word for word from my assignment page: 1. Create/modify and print a... (2 Replies)
Discussion started by: Jagst3r21
2 Replies

9. UNIX for Dummies Questions & Answers

Adding a network interface to a bonded interface

I have a RHEL 5 system with a bonded interface configure using only one network port (eth0). So I have config file for ifcfg-bond0 and ifcfg-eth. I'd like to configure eth5 to be the second SLAVE in the bond. My question is, after I modify ifcfg-eth5, can I add eth5 to the bond0 interface without... (1 Reply)
Discussion started by: westmoreland
1 Replies

10. UNIX for Dummies Questions & Answers

Assigning ipv6 to bonding interface - getting old as well as changed ipv6 in ifconfig output

Hi, I have created a bonding bond1 interface with 6 Eth , mode=4. Recently i have changed my old ipv6 to new one and tried to restart as well as reload network service. Post which i can see old as well as changed ipv6 in ifconfig command output. Below are few files and command output for your... (1 Reply)
Discussion started by: omkar.jadhav
1 Replies
eql_enslave(8)						      System Manager's Manual						    eql_enslave(8)

NAME
eql_enslave - enslave a network interface with a master interface SYNOPSIS
eql_enslave <master-name> <slave-name> <estimated-bps> DESCRIPTION
eql_enslave enslaves a PPP or SLIP network interface to another, named master interface or eql device. The MTU must match the MTU of your serial line device, otherwise, eql_enslave just fails when it is called. You have also to turn off Van- Jacobson compression on your slave devices. Once the eql device is configured, it will stay up and running until you shut it down manually or reboot. If you have the eql support com- piled as a module then all you have to do is to remove the module after downing the interface. Note that you have to connect to a terminal server capable of doing load balancing or another Linux box to use EQL. EXAMPLES
# Client Side EQL Driver Initialization ifconfig eql 192.168.1.2 netmask 255.255.255.0 mtu 1500 eql_enslave eql ppp0 33600 eql_enslave eql ppp1 14400 eql_enslave eql ppp2 28800 SEE ALSO
ifconfig(8) AUTHOR
Written by Simon "Guru Aleph-Null" Janes, simon@ncm.com. Manual page added by Roberto Lumbreras <rover@debian.org>. eql_enslave(8)
All times are GMT -4. The time now is 11:37 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy