Which command would you use to save the IP address and routing information before upgrading a GAiA Gateway?

Which command would you use to save the IP address and routing information before upgrading a
GAiA Gateway?

Which command would you use to save the IP address and routing information before upgrading a
GAiA Gateway?

A.
netstat –rn > [filename].txt

B.
ipconfig –a > [filename].txt

C.
cp /etc/sysconfig/network.C [location]

D.
ifconfig > [filename].txt



Leave a Reply 15

Your email address will not be published. Required fields are marked *


Oliver Fink

Oliver Fink

| [Expert@gw01:0]# cat /etc/sysconfig/network.C
| cat: /etc/sysconfig/network.C: No such file or directory

Does not look like a correct answer. SInce ipconfig only exists on Windows and ifconfig does not contains any routing information, all that remains is netstat. But this command does not contain any ip address of an interface.

It seems, that there is no correct answer.

TS

TS

/etc/sysconfig/network.conf is correct

pranab

pranab

ipconfig — > windows
ifconfig -a — > Linux but does not provide routing information
cp /etc/sysconfig/network.C –> SPLAT only
netstat -rn –> Windows and Linux and does provide routing information

FriedBacon

FriedBacon

Hhmmm..i doubt that linux has an -r option, usually linux uses ‘netstat -an’
It would be correct if it is only ‘netstat -n’ since BOTH linux and windows use the -n option

FriedBacon

FriedBacon

oops, just verified, there is an -r option

FriedBacon

FriedBacon

So A is the answer

German

German

From the CLI of my GAiA R77.30 Gateway:

gateway> netstat -rn
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
x.x.x.x x.x.x.x 255.255.255.255 UGHD 0 0 0 eth1-05.1
0.0.0.0 x.x.x.x 0.0.0.0 UGD 0 0 0 eth1-01

I believe the answer is (A), since with that information you could recreate the routing configuration of your Gateway; still I would prefer to run a ‘show configuration’ and copy the output to a .txt file

florentjustin

florentjustin

Does /etc/sysconfig/network.C exist ? I only see /etc/sysconfig/network without .C

Interfaces and routing
* /etc/sysconfig/netconf.C
* /etc/sysconfig/network

sk54100
Routing and interface information

The following information is useful to have on hand as a reference, if you are attempting to restore a configuration, especially if your gateway module has a heavy routing table.

* Copy of /etc/sysconfig/netconf.C
* Copy of your routing and interface information

To create a copy of your routing and interface information:

# netstat -rn > routes.txt
# ipconfig -a > ipconfig.txt
# ifconfig > ifconfig.txt

Esteban

Esteban

C. cp /etc/sysconfig/network.C [location]

FriedBacon

FriedBacon

There is no such thing a network.C
Probably a typo?

Answer should be: /etc/sysconfig/netconf.C

Wendy Legal

Wendy Legal

Wrote 156-315.77 last Friday, and passed with 95%!

There were 89 questions of my 156-315.77 exam, many Fill in the Blank questions.

Around 10-15 new questions (IPS, Threat Prevention FW Monitor, VPN Tunnel Sharing, GAiA…etc.).

Be careful of questions on Command and Syntax, GAiA Command.

I used the PassLeader 156-315.77 dumps (http://www.passleader.com/156-315-77.html) (752q VCE and PDF dumps) for preparing for exam, all NEW questions were from it, the most valid 156-315.77 dumps!

GGG

GGG

A. netstat -rn

netconf.C exists on my working system, but it’s an empty file:

=============
[Expert@FW-01:0]# pwd
/etc/sysconfig
[Expert@FW-01:0]# ls netconf.C
netconf.C
[Expert@FW-01:0]# more netconf.C
(conf
: (conns)
: (routes)
)
[Expert@FW-01:0]#
=============

GGG

GGG

Correction to above text:

A: netstat –rn > [filename].txt