| Solaris - Configuring an Interface |
| Vendor | Sun |
| Platform | Solaris |
| Version | 9 |
| UNIX / Linux - Solaris |
| Tuesday, 19 August 2008 14:35 |
|
In this example we will configure interface qfe1 with the an IP of 192.168.1.1 255.255.255.0 and set the speed to 100 full duplex. Bring up the Interface To bring up and plumb the interface, we first need to type the following, (change the IP to yours) ifconfig qfe1 plumb Update the /etc/netmasks file with the network address and subnet mask, if not already present (the required line is below), 192.168.1.0 255.255.255.0 For the new interface , first edit the /etc/hosts file and create a new entry. The space should be a tab. 192.168.1.1 solarisserver-qfe1 Now create a new file /etc/hostname.qfe1 and add the entry solarisserver-qfe1 To do the above but using less effort (and lines) try the following, ifconfig qfe1 plumb ; ifconfig qfe1 192.168.1.1 netmask 255.255.255.0 up Set Duplex ndd -set /dev/qfe instance 1 Then to make the change permanent add to /etc/system set /dev/qfe1 adv_100fdx_cap 1 Below is a reference to the difference abbreviations : instance 1 = port instance 1 Check the interface Check the IP address and status of the interface ifconfig -a Set the interface we are going to check, ndd -set /dev/qfe instance 1 To check the link, (reply of 1 = LED is active, 0 = Line is dead) ndd -get /dev/qfe link_status To check the negotiated speed, 1=100mbit for qfe & hme, 1 Gbit for ge. ndd -get /dev/qfe link_speed To check link mode, (1= full-duplex, 0 = half-duplex) ndd -get /dev/qfe link_mode Remove the Interface Disable interface qfe1 ifconfig qfe1 down Remove the interface qfe1 ifconfig qfe1 unplumb
|
Latest Articles
- Tool - SSLReport
- Brocade ADX - How to perform an image upgrade
- Cisco ASA reboots/crashes when running the command 'show service-policy interface outside set connection detail'
- Brocade ADX - Persistence
- How to define a port range on a Juniper SRX
- Path MTU Discovery (PMTUD) / Path MTU Black Holes
- Mitigating DoS attacks on a Cisco ASA
- How do I clear the Cisco ASA connection counters ?
- High CPU Usage on a Cisco CSS
- How to clone a MySQL database
- Brocade ADX - Configuring SSL
- Brocade ADX - Content Switching Rewrite
- Joomla - How to add a custom field
- BigIP F5 LTM - How to Create a Sorry Page with Image
- BigIP F5 LTM - TCP Syslog
- Cisco ASA - Traffic blocked when TCP syslog server is unreachable
- Excel - Unable to open file
- Brocade ADX - DoS Protection
- Brocade ADX - LoadBalancing Methods
- Brocade ADX - Healthcheck Elements
Popular
- Proxy ARP – SPLAT
- Check Point Commands
- IPSO - Commands
- ASA 8.3 - How to configure NAT
- vSphere - Creating User and Group Permissions
- PEMU - Free Cisco PIX Firewall Emulator / Simulator
- Juniper Netscreen Commands
- Juniper - NAT Explained
- Configuring Wireless Connectivity within Backtrack 4 r2
- ESX Convertor - The session is not authenticated
- How do I install snmpwalk / snmpget using Yum ?
- Netscreen - NSRP
- ESX - ViClient Cannot connect to host
- Troubleshooting a Netscreen Site 2 Site VPN
- Endpoint Connect Installation / Troubleshooting Guide
- ESXi - Connecting to a named pipe
- Check Point - How to Reset SIC
- ESXi White Box - HP DL140
- DNS / nslookup - How to find the root servers ?
- Netscreen - Routing Basics / Virtual Routers / PBR
