Koozali.org: home of the SME Server
Contribs.org Forums => General Discussion => Topic started by: dd3 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
-
dd3
ifconfig
Perhaps the real fix is to setup traffic shaping
http://wiki.contribs.org/Wondershaper
-
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-)
-
:-? 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.?
-
dd3
ifconfig
(without specifiying eth1)
config show |more
-
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
-
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 :?
-
:-? 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.
-
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"?