Koozali.org: home of the SME Server

simple question - view network config

Offline dd3

  • **
  • 27
  • +0/-0
simple question - view network config
« on: April 22, 2008, 12:44:26 PM »
Im sure its simple but i cant find info on here anywhere.

what command can i type to view the IP config of the external interface?

the external IP address is fixed, but every 3 mins dhcp kicks off and voice calls seem to drop out and come back so Im going to set it up manually but want to know exactly what is currently assigned (mask & default gw.)

tia

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: simple question - view network config
« Reply #1 on: April 22, 2008, 01:17:46 PM »
dd3

ifconfig

Perhaps the real fix is to setup traffic shaping
http://wiki.contribs.org/Wondershaper
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline dd3

  • **
  • 27
  • +0/-0
Re: simple question - view network config
« Reply #2 on: April 22, 2008, 01:32:41 PM »
thanks

yes I had already gone down that route and have instaled wondershaper, but being belts and braces I want to stop dhcp possibly causing issues too. 8-)


Offline dd3

  • **
  • 27
  • +0/-0
Re: simple question - view network config
« Reply #3 on: April 22, 2008, 01:36:53 PM »
 :-? just run ifconfig and it doesnt give me default gateway information.

ifconfig eth1
eth1      Link encap:Ethernet  HWaddr 00:48:54:D0:22:A5
          inet addr:xxx.xxx.252.13  Bcast:xxx.xxx.252.15  Mask:255.255.255.252
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:3512 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3501 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:1407318 (1.3 MiB)  TX bytes:464431 (453.5 KiB)
          Interrupt:209 Base address:0x9000

Is all i get.?

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: simple question - view network config
« Reply #4 on: April 22, 2008, 02:42:32 PM »
dd3

ifconfig
(without specifiying eth1)

config show |more

Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline dd3

  • **
  • 27
  • +0/-0
Re: simple question - view network config
« Reply #5 on: April 22, 2008, 02:52:20 PM »
ok thanks tried that...........but

when I do the ¦more bit and scroll down to the eth01 interface the gateway is blank.

so I login to admin using putty and setup the interface for static and a blank gateway and the config program bombs out and closes the putty session ?????

any suggestions appreciated.

Tia

Offline dd3

  • **
  • 27
  • +0/-0
Re: simple question - view network config
« Reply #6 on: April 22, 2008, 03:24:29 PM »
ok so I tried setting the gateway address to the only other IP address there could be in a .252 subnet and its working.... weird that the gateway wasnt showing before though :?

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: simple question - view network config
« Reply #7 on: April 23, 2008, 06:20:40 AM »
:-? just run ifconfig and it doesnt give me default gateway information.

The default gateway is not an interface configuration, it's a routing entry. Use "route -n" to display the routing table.

I can't see how dhcp could be causing your problem. But if it is causing the problem, then it should be fixed. Please provide a detailed bug report via the bug tracker.

You are very likely to have future problems if your ISP expects you to use DHCP but you have changed to a static configuration.

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: simple question - view network config
« Reply #8 on: April 23, 2008, 06:22:20 AM »
the external IP address is fixed, but every 3 mins dhcp kicks off ...

What do you mean by "dhcp kicks off"? What have you seen which makes you say that "dhcp kicks off"?