M

Visitor

 • 

5 Messages

Monday, January 10th, 2022 9:44 PM

Closed

XB7 Command Line Interface

I'm running an XB7 in bridge mode because I have complicated network with 60 reserved IP addresses in the 192.168 space. This means my speed has dropped from 1.2 Gbps to 940 Mbs because bridge mode only looks at LAN1 and doesn't support link aggregation or the 2.5 Gbps port. 

I would like to operate the XB7 in normal router mode, but to do that conveniently I need command line access to the IP reservation table. This is easy to do on a normal Netgear router, but the Netgear inside the XB7 has a number of customizations that turn off common features. It doesn't respond to telnet at port 23 or ssh at port 22.

Does the XB7 support command line access?

Contributor

 • 

167 Messages

3 years ago

So the web interface is likely the only way to config the XB7 that Im aware of.. But then again, im not SSH or Telnet to the gateway to begin with.

 Is the issue hitting the gateway from internal or internet IP address? Guessing ports 22,23 blocked on internet side to avoid scans looking for innocent device on the web..

Just my .2 cents

 Thanks and good luck.

(edited)

Visitor

 • 

5 Messages

@user_bb801b Trying to access from the LAN side, I have remote admin turned off. It's not unheard of for businesses to block ports they consider security risks, but better practice to make them available to people who are willing to take some risk. The XB7 router is Netgear inside and Netgear supports telnet and SSH in their retail products.

Gold Problem Solver

 • 

26.3K Messages

3 years ago

... the Netgear inside the XB7 ...

The CGM4331COM is made by Technicolor and the TG4482A is made by Arris. It seems unlikely that either one is "Netgear inside". Do you have any evidence that they are?

Contributor

 • 

99 Messages

3 years ago

BTW, I am running into the same problems with DHCP on the XB7. The UI in the horrid. It doesn't scale. It's full of bugs. I have 76 "Reserved IP" and many changes I'm making to them no longer take. Changes to existing reservations, or new reservations. I think there is some kind of hard limit in there.  And worst of all, there is no way to turn off the DHCP server completely.

I am thinking of trying to use a second DHCP server, maybe on a Raspberry Pi. Not sure if I can make it work, though. Having multiple DHCP servers on the same LAN is fraught with problems. But perhaps I can set the XB7 DHCP range to be a single IP address. And have a single reservation in there, for the Pi itself. The Pi could be configured either to use DHCP, or to use single IP of the XB7 DHCP server range.

Hopefully, any other devices requesting DHCP would not be able to get an IP from the XB7 DHCP server, and these DHCP requests would fall back to the secondary DHCP server running on the Pi. I don't know if I can get this to work or not. But none of it would need to be done if the [Edited: "Language"] router in the XB7 worked in the first place.

It's not going to be fun testing this, sigh.

Edit: it looks like the XB7 requires a DHCP range of at least two IP addresses. A single one won't do. It accepts that, though, even though there are 76 existing "Reserved IP". At least I don't have to delete them one at a time, which would take hours, for the purpose of testing, but this shows how much testing this GUI got.

(edited)

Contributor

 • 

99 Messages

So, I did the following simple test.

1) Set the DHCPv4 range on the XB7 from 192.168.1.100 through 101 .

2) Changed the Reserved IPs for my desktop (10Gb Aquantia NIC) to be .100

3) Changed the Reserved IP for my Raspberry Pi 4B (1Gb NIC) to be .101

4) Removed the Reserved IP for my Odroid N2+ (1 Gbps NIC) . Set it back to "DHCP" in the GUI

5) Connected only those 3 computers and the XB7 to my TP-Link TL-SX105 switch. Nothing on the 5th port. That means the 70+ other devices on my network are all offline during this test.

Result :

a) Both the desktop and the Pi got their expected .100 and .101 IPv4 address from the XB7 DHCP server.

b) The Odroid N2+ did not get an IPv4 address.

c) The Odroid N2+ got an IPv6 address. I checked http://test-ipv6.com, and it shows IPv6 connectivity, but no IPv4 connectivity.

This tells me there is a chance that it might fetch an IPv4 address from a secondary DHCP server, if I installed one on my Pi.

Time to actually do that next.

(edited)

Contributor

 • 

99 Messages

I installed isc-dhcp-server on my Pi, and was able to set it up to give out IPv4 addresses in the 192.168.1.102 - 192.168.1.200 range.

It seems to be happy to coexist with the XB7 DHCP server. DNS seems to work fine, somehow, without me having to do anything.

I'm furiously deleting the 74 unneeded "Reserved IP" in the XB7 DHCP GUI now. If I never have to use it again, it'll be too soon.

Looks like I'll be able to manage the reservations by either editing a file, or installing webmin, but that'll be for another day.

(edited)

forum icon

New to the Community?

Start Here