| 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
- F5 LTM VE 10.2.x - Interfaces not recognised
- Cisco ASA - Security Levels / NAT Control
- F5 LTM - OneConnect
- Django - CSRF verification failed. Request aborted.
- F5 LTM VE - Unable to attach to PCI device 02:01.00 for Interface 1.1
- F5 LTM - Connection Management
- Brocade ADX - FTP
- PKI - Chain of Trust
- Juniper SRX - Site to Site VPN using a Dynamic IP address
- F5 LTM - How do I perform software installations ?
- Juniper SRX - NAT
- Juniper SRX - How to configure a route based VPN
- Juniper SRX - Dynamic VPN
- Juniper SRX - How to configure a policy based VPN
- Brocade ADX - NAT
- Brocade ADX - CSW nested rules
- How do I upgrade a Juniper SRX Series gateway
- Cisco ASA - How do I capture ARP`s ?
- Juniper SRX - Configuring Source NAT with pool
- Running a packet capture on a Juniper SRX
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
- Configuring Wireless Connectivity within Backtrack 4 r2
- Juniper Netscreen Commands
- Juniper Netscreen - NAT Explained
- How do I install snmpwalk / snmpget using Yum ?
- Netscreen - NSRP
- ESX Convertor - The session is not authenticated
- Troubleshooting a Netscreen Site 2 Site VPN
- ESX - ViClient Cannot connect to host
- Endpoint Connect Installation / Troubleshooting Guide
- Check Point - How to Reset SIC
- ESXi - Connecting to a named pipe
- Netscreen - Routing Basics / Virtual Routers / PBR
- Configuring Windows 2008 R2 as an NTP Server
- Check Point Logging Troubleshooting Guide


