Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Network configuration in Solaris 8 Post 1075 by Neo on Wednesday 7th of February 2001 07:16:19 AM
Old 02-07-2001
The loopback interface is different than a hardware interface. Loopback is internal to the kernel and never sees an external device. For example, an ifconfig output:

Quote:
eth0 Link encap:Ethernet HWaddr 00:A0:24:80:52:9F
inet addr:165.209.1.200 Bcast:165.209.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
Interrupt:11 Base address:0xd800

eth1 Link encap:Ethernet HWaddr 00:00:C0:31:B3:95
inet addr:84.14.111.22 Bcast:84.14.111.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1463590 errors:0 dropped:0 overruns:0 frame:0
TX packets:1401027 errors:0 dropped:0 overruns:0 carrier:0
collisions:170 txqueuelen:100
Interrupt:10 Base address:0x310 Memory:cc000-d0000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:3924 Metric:1
RX packets:4492 errors:0 dropped:0 overruns:0 frame:0
TX packets:4492 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
Note that the loopback interface is not the same as the ethernet interfaces.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

problem with Solaris in Network configuration

WEe have installed Intel version of Solaris 8 in a machine .we skipped the network configuration at the begning.we selected unnetworked.Now we need to connect the same machine to a network. We configured the Card using ifconfig but its taking the ip address itself as the Default G/W. I need help... (4 Replies)
Discussion started by: premkumar
4 Replies

2. HP-UX

HP-UX Network Configuration

Hi, I have installed a HP-UX B.11.00 U 9000/800 Server in one of the domain. And I'm also able to telnet/ping into this server from systems in the same domain. But I'm not able to telnet/ping into this server from a different domain. So, what shoud need to do to achieve this... (6 Replies)
Discussion started by: S.Vishwanath
6 Replies

3. IP Networking

network configuration files

I have solaris 2.8 on an ultra 1 and just configured the following files: defautrouter resolv.conf nsswitch.conf netmasks hosts but when I reboot, my NIC still is not configured. Which file do I need to configure to keep the NIC configured after reboot? (3 Replies)
Discussion started by: DarkLord
3 Replies

4. Solaris

network configuration

hi again... i configured my network settings sometiime ago using the sys-unconfig command.the active link was rtls0. there was some problem with the network so i changed the ISP. now when im trying to reconfigure the system wit sys-unconfig, it tries to configure the network on rtls1 (and shows... (1 Reply)
Discussion started by: strider
1 Replies

5. Solaris

Solaris 10 network configuration problem with zone

I am seeking help from the gurus in this forum and hope that I can find answers soon. Anyone who provide the answers will be greatly appreciated. I have a sparc box with Solaris 10 on it. We install Solaris with zone structure. One global zone and two other zone. I installed Oracle DB on global... (6 Replies)
Discussion started by: duke0001
6 Replies

6. SCO

Network Configuration

I have a SCO 5.07 Server and I am trying to get it on my network. I have edited the /etc/hosts file and /etc/rc2.d/s99route . I has connectivity on the NIC card but not sure if I am forgetting another file. Thanks! (2 Replies)
Discussion started by: andrewd
2 Replies

7. UNIX for Dummies Questions & Answers

network configuration

I am using solaris 10, my internet works alright but each time i reboot i keep loosing my connection. I will have to use the ifconfig iprb0 192.168.1.xx netmask 255.255.255.0 up and Route add default 192.168.1.xxx command to gain back my internet. I know there is a better way of addressing... (1 Reply)
Discussion started by: seyiisq
1 Replies

8. Solaris

Network configuration

Hi I have installed Solaris 5.10 on Intel x86 machine (standalone). I want to access internet through solaris. How should I configure the network? Is static IP or DHCP advisable? (5 Replies)
Discussion started by: johnl
5 Replies

9. Solaris

Solaris Network Configuration

Hi How do I configure a network card in Solaris 10? using the command ifconfig, and also please advise me for persisting this ip address what are the files newly created and modify. I am a new baby in solaris:) (4 Replies)
Discussion started by: vipinmurali
4 Replies

10. Solaris

Network interface configuration - Solaris 11

Hi, I am new in Solaris 11. I can't even make the NIC work. Here is the issue: Any help will be greatly appreciated. (6 Replies)
Discussion started by: aixlover
6 Replies
IFCONFIG(8)						      System Manager's Manual						       IFCONFIG(8)

NAME
ifconfig - configure network interface parameters SYOPNSIS
/sbin/ifconfig interface address_family [ address [ dest_address ] ] [ parameters ] /sbin/ifconfig interface [ protocol_family ] DESCRIPTION
Ifconfig is used to assign an address to a network interface and/or configure network interface parameters. Ifconfig must be used at boot time to define the network address of each interface present on a machine; it may also be used at a later time to redefine an interface's address or other operating parameters. The interface parameter is a string of the form ``name unit'', e.g. ``en0''. Since an interface may receive transmissions in differing protocols, each of which may require separate naming schemes, it is necessary to specify the address_family, which may change the interpretation of the remaining parameters. The address families currently supported are ``inet'' and ``ns''. For the DARPA-Internet family, the address is either a host name present in the host name data base, hosts(5), or a DARPA Internet address expressed in the Internet standard ``dot notation''. For the Xerox Network Systems(tm) family, addresses are net:a.b.c.d.e.f, where net is the assigned network number (in decimal), and each of the six bytes of the host number, a through f, are specified in hexadecimal. The host number may be omitted on 10Mb/s Ethernet interfaces, which use the hardware physical address, and on interfaces other than the first. The following parameters may be set with ifconfig: up Mark an interface ``up''. This may be used to enable an interface after an ``ifconfig down.'' It happens automatically when setting the first address on an interface. If the interface was reset when previously marked down, the hardware will be re-initialized. down Mark an interface ``down''. When an interface is marked ``down'', the system will not attempt to transmit messages through that interface. If possible, the interface will be reset to disable reception as well. This action does not automatically disable routes using the interface. trailers Request the use of a ``trailer'' link level encapsulation when sending (default). If a network interface supports trailers, the system will, when possible, encapsulate outgoing messages in a manner which minimizes the number of memory to memory copy operations performed by the receiver. On networks that support the Address Resolution Protocol (see arp(4P); cur- rently, only 10 Mb/s Ethernet), this flag indicates that the system should request that other systems use trailers when sending to this host. Similarly, trailer encapsulations will be sent to other hosts that have made such requests. Cur- rently used by Internet protocols only. -trailers Disable the use of a ``trailer'' link level encapsulation. arp Enable the use of the Address Resolution Protocol in mapping between network level addresses and link level addresses (default). This is currently implemented for mapping between DARPA Internet addresses and 10Mb/s Ethernet addresses. -arp Disable the use of the Address Resolution Protocol. metric n Set the routing metric of the interface to n, default 0. The routing metric is used by the routing protocol (routed(8)). Higher metrics have the effect of making a route less favorable; metrics are counted as addition hops to the destination network or host. debug Enable driver dependent debugging code; usually, this turns on extra console error logging. -debug Disable driver dependent debugging code. netmask mask (Inet only) Specify how much of the address to reserve for subdividing networks into sub-networks. The mask includes the network part of the local address and the subnet part, which is taken from the host field of the address. The mask can be specified as a single hexadecimal number with a leading 0x, with a dot-notation Internet address, or with a pseudo-network name listed in the network table networks(5). The mask contains 1's for the bit positions in the 32-bit address which are to be used for the network and subnet parts, and 0's for the host part. The mask should contain at least the standard net- work portion, and the subnet field should be contiguous with the network portion. dstaddr Specify the address of the correspondent on the other end of a point to point link. broadcast (Inet only) Specify the address to use to represent broadcasts to the network. The default broadcast address is the address with a host part of all 1's. ipdst (NS only) This is used to specify an Internet host who is willing to receive ip packets encapsulating NS packets bound for a remote network. In this case, an apparent point to point link is constructed, and the address specified will be taken as the NS address and network of the destinee. Ifconfig displays the current configuration for a network interface when no optional parameters are supplied. If a protocol family is specified, Ifconfig will report only the details specific to that protocol family. Only the super-user may modify the configuration of a network interface. DIAGNOSTICS
Messages indicating the specified interface does not exit, the requested address is unknown, or the user is not privileged and tried to alter an interface's configuration. SEE ALSO
netstat(1), intro(4N), rc(8) 4.2 Berkeley Distribution November 16, 1996 IFCONFIG(8)
All times are GMT -4. The time now is 11:56 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy