Jump to content

CS410 Linux Operations


andrewgroup
 Share

Recommended Posts

The CS410 has 3 interfaces eth0, eth1, and eth2

 

The following is from a CS410 that has the WAN port set to 192.168.1.99 and the LAN port Disabled, NO DHCP....

 

My question is, why does eth0 have 192.168.192.168 ? and then look at the Route table below...

 

via root login issue ifconfig and see this listing.....cont

 

comcerto:~# ifconfig

eth0 Link encap:Ethernet HWaddr 00:19:15:68:40:4A

inet addr:192.168.192.168 Bcast:192.168.192.255 Mask:255.255.255.0

UP BROADCAST RUNNING MTU:1500 Metric:1

RX packets:0 errors:0 dropped:0 overruns:0 frame:0

TX packets:0 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:1000

RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

Interrupt:22

 

eth1 Link encap:Ethernet HWaddr 00:1A:1B:1C:1D:1E

inet addr:1.1.1.1 Bcast:1.1.1.255 Mask:255.255.255.0

UP BROADCAST RUNNING NOARP MULTICAST MTU:1500 Metric:1

RX packets:245087 errors:0 dropped:0 overruns:0 frame:0

TX packets:29175 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:1000

RX bytes:48989618 (46.7 MiB) TX bytes:6292542 (6.0 MiB)

Interrupt:1

 

eth2 Link encap:Ethernet HWaddr 00:19:15:68:40:4B

inet addr:192.168.1.99 Bcast:192.168.1.255 Mask:255.255.255.0

UP BROADCAST RUNNING MTU:1500 Metric:1

RX packets:32492 errors:0 dropped:0 overruns:0 frame:0

TX packets:30379 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:1000

RX bytes:6022647 (5.7 MiB) TX bytes:6845701 (6.5 MiB)

Interrupt:29

 

lo Link encap:Local Loopback

inet addr:127.0.0.1 Mask:255.0.0.0

UP LOOPBACK RUNNING MTU:16436 Metric:1

RX packets:133 errors:0 dropped:0 overruns:0 frame:0

TX packets:133 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:0

RX bytes:30111 (29.4 KiB) TX bytes:30111 (29.4 KiB)

 

What I don't like and fully understand is the route table....

 

comcerto:~# route

Kernel IP routing table

Destination Gateway Genmask Flags Metric Ref Use Iface

192.168.192.0 * 255.255.255.0 U 0 0 0 eth0

192.168.1.0 * 255.255.255.0 U 0 0 0 eth2

1.1.1.0 * 255.255.255.0 U 0 0 0 eth1

default 192.168.1.1 0.0.0.0 UG 0 0 0 eth2

default 192.168.192.1 0.0.0.0 UG 0 0 0 eth0

 

With LAN disabled, I would have not expected that port exist..and does this route table present potential problems for broadcast packets?

Link to comment
Share on other sites

Guest kevin

actually that is what they use for a default IP address at the factory. The only way to disable it is to pop the cover off and connect a serial connection to the board at bootup and then there is a bios prompt you can get into to disable it. If there is nothing plugged into the port I don't think it is causing any issues. They have been shipping like that for two years and no one has complained. We were debating to not give the root access to avoid issues like these. What you don't know shouldn't hurt you. :)

Link to comment
Share on other sites

We were debating to not give the root access to avoid issues like these. What you don't know shouldn't hurt you. :)

 

Removing Root access would be fine, but wait until the PBX has considerably more features to do the basics that require root access like removing old CDRs, Messages, diagnostics and more.

 

Cheers.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...