Sponsored Content
Full Discussion: [SOLVED] ifconfig mishap
Homework and Emergencies Emergency UNIX and Linux Support [SOLVED] ifconfig mishap Post 302704827 by brij123 on Sunday 23rd of September 2012 04:13:33 PM
Old 09-23-2012
[SOLVED] ifconfig mishap

Hi all,

I have accidentally run wrong ifconfig command in the Solaris 10 server. Now the connectivity is lost. Please help ...
I am sharing the commands

Before it was
Code:
 
ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
        inet 127.0.0.1 netmask ff000000
e1000g0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
        inet 10.10.10.20 netmask ffffffc0 broadcast 10.133.9.191
        ether 0:21:28:b1:30:44

The command which run accidentally

Code:
ifconfig -a 10.10.10.10

Please give me a solution ASAP.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

ifconfig

I am trying to change an IP address on a machine running HPUX10 After I change it I can ping it from the outside but it completely locks the console. After a reboot it returns back to its previous IP. Any ideas?? Thanks Brian (7 Replies)
Discussion started by: breigner
7 Replies

2. OS X (Apple)

ifconfig

Hi, I type (as root) "ifconfig en1 ether aa:aa: " but it doesnt change the mac of my airport. Can anyone help me? Thx. (0 Replies)
Discussion started by: Jariya
0 Replies

3. Shell Programming and Scripting

ifconfig!!!!

why the ifconfig command is not working in my machine? it says "-bash: ifconfig: command not found" why its says that? actually i m looking for "how can I know the Network Interface Card physical address?" Requesting u all for help. thanks (3 Replies)
Discussion started by: moco
3 Replies

4. UNIX for Dummies Questions & Answers

ifconfig and ipconfig

hey, I know that ifconfig on linux systems is identical to win ipconfig. I wanted to know if there is a linux distribution (new or old) that uses the ipconfig command. thanks alot :) (2 Replies)
Discussion started by: tsmotix
2 Replies

5. Solaris

ifconfig -a not working

Hi All, I logged into a sun microsystems server box, using both a vnc session and a ssh session. I am able to use "ifconfig -a" in a ssh session, but the same on a vnc session says that its a invalid command. how is this possible, when i am logging into the same box through two different... (4 Replies)
Discussion started by: pardhuhere
4 Replies

6. IP Networking

/etc/hosts changes when ifconfig......

Hello everyone. Im using last redhat enterprise edition and in my working environment, i'm always reconfiguring both interfaces , eth0 and eth1, everytime i change any interface, (i use ifconfig to change ip, and after i execute "/etc/init.d/network restart") my "/etc/hosts" file... (9 Replies)
Discussion started by: trutoman
9 Replies

7. IP Networking

ifconfig problem

Hi all, I am getting some error messages during bootup ifconfig :<hostname> bad address and some more messages related to it. I some how checked the /etc/hostanem.hme0 /etc/hosts file. Entries in these files were proper. If I am running the following command from root: ... (5 Replies)
Discussion started by: amit_sapre
5 Replies

8. Linux

ifconfig - information

Hi All, I need some info on ifconfig. ifconfig is available in Linux and Solaris. However the options available in Solaris is not there in Linux. 1. ifconfig -a == output is different in both OS. I am somewhat able to compare the output. But one thing I am not getting is after the flags... (2 Replies)
Discussion started by: ahamed101
2 Replies

9. Shell Programming and Scripting

[solved] merging two files and writing to another file- solved

i have two files as file1: 1 2 3 file2: a b c and the output should be: file3: 1~a 2~b 3~c (1 Reply)
Discussion started by: mlpathir
1 Replies

10. Solaris

IFCONFIG is available... sort of

So, I have this script that makes a call to ifconfig to pull the interface information and report it. When I log on to the machine the script works just fine. But, if I'm on a remote machine and I make a call like this. ssh user@server ./script.bash I get an error saying that the IFCONFIG command... (9 Replies)
Discussion started by: Binary Buddha
9 Replies
IFCONFIG(1)							   User Commands						       IFCONFIG(1)

NAME
ifconfig - configure network interfaces SYNOPSIS
ifconfig [OPTION...] DESCRIPTION
NAME [ADDR] [broadcast BRDADDR] [pointopoint|dstaddr DSTADDR] [netmask MASK] [metric N] [mtu N] [txqueuelen N] [up|down] [FLAGS] Configure network interfaces. -a, --all display all available interfaces -A, --address=ADDR set interface address to ADDR -B, -b, --broadcast=ADDR, --brdaddr=ADDR set broadcast address to ADDR -d, -p, --dstaddr=ADDR, --peer=ADDR set destination (peer) address to ADDR --down shut the interface down --format=FORMAT select output format (or set back to default) -F, --flags=FLAG[,FLAG...] set interface flags -i, --interface=NAME configure network interface NAME -m, --netmask=MASK set netmask to MASK --metric=N set metric of interface to N -M, --mtu=N set mtu of interface to N -s, --short short output format --up activate the interface (default if address is given) -v, --verbose output information when configuring interface Linux-specific options -T, --txqlen=N set transmit queue length to N -?, --help give this help list --usage give a short usage message -V, --version print program version Mandatory or optional arguments to long options are also mandatory or optional for any corresponding short options. Known flags are: allmulti, automedia, debug, loopback, multicast, portsel, running, trailers, up AUTHOR
Written by Marcus Brinkmann. REPORTING BUGS
Report bugs to <bug-inetutils@gnu.org>. COPYRIGHT
Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. SEE ALSO
The full documentation for ifconfig is maintained as a Texinfo manual. If the info and ifconfig programs are properly installed at your site, the command info ifconfig should give you access to the complete manual. GNU inetutils 1.9 December 2011 IFCONFIG(1)
All times are GMT -4. The time now is 02:11 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy