[ad_1]
I must be a superior prompt engineer – each time I inquire ChatGPT anything actually easy it spews out nonsense. This time I questioned it to construct a tiny network with 4 routers:
I have a network with 4 Cisco routers (A,B,C,D). They are connected as observe: A-B, B-C, A-D, D-C. Just about every router has a loopback interface. Produce router configurations that will consequence in A remaining capable to reach loopback interfaces of all other routers.
Here’s what I obtained back again:
Here’s an illustration configuration for the four routers that should really make it possible for Router A to achieve the loopback interfaces of all other routers:
Probably it is just me, but I would count on an skilled to request a issue or two first, like “are there any distinct IP address you’d like to use, or is it all the same to you”. Ignoring that bedside manners detail, let us examine the configuration:
Router A
interface FastEthernet0/
ip handle 192.168.1.1 255.255.255.
duplex vehicle
pace auto
!
interface Loopback0
ip handle 10...1 255.255.255.
!
router ospf 1
network 192.168.1. ...255 space
network 10... ...255 spot
!
ip route ... ... 192.168.1.2
Router B
interface FastEthernet0/
ip tackle 192.168.1.2 255.255.255.
duplex automobile
velocity automobile
!
interface FastEthernet0/1
ip deal with 192.168.2.1 255.255.255.
duplex vehicle
velocity automobile
!
router ospf 1
network 192.168.1. ...255 spot
network 192.168.2. ...255 spot
!
ip route ... ... 192.168.2.2
Router C
interface FastEthernet0/
ip address 192.168.2.2 255.255.255.
duplex auto
speed auto
!
interface Loopback0
ip address 10...3 255.255.255.
!
router ospf 1
community 192.168.2. ...255 area
community 10... ...255 area
!
ip route ... ... 192.168.2.1
Router D
interface FastEthernet0/
ip tackle 192.168.3.1 255.255.255.
duplex vehicle
speed automobile
!
interface Loopback0
ip tackle 10...2 255.255.255.
!
router ospf 1
network 192.168.3. ...255 region
network 10... ...255 region
!
ip route ... ... 192.168.3.2
ChatGPT also discussed what it did, starting up with:
In this configuration, Router A is related to Router B by using FastEthernet0/ and to Router D by means of FastEthernet0/1. It has a loopback interface with IP address 10…1.
[…]
Figure out almost everything that’s erroneous with the higher than configurations right before shifting on )
How about:
- Whilst ChatGPT pointed out the A ➔ D link, it is missing from the configuration of router A.
- Router D has a one interface that does not match anything else (simply because A ➔ D url is lacking).
- Router B has no loopback interface, so it is not possible to arrive at it 🤔
- Loopback interfaces have overlapping subnets (they are configured as /24s not as /32s)
Then we have the chain of unwanted static default routes: A ➔ B, B ➔ C, C ➔ B, D ➔ A?. Charming )
But Hold out It Will Get Greater!
Of training course, it will. GPT-4 does a considerably greater job (many thanks all over again to Andrew Yourtchenko for managing the question for me). Here’s what it produced for Router A:

It is a major enhancement as opposed to what ChatGPT generated and quite shut to a excellent respond to:
- All the essential backlinks are there
- Loopbacks have the expected subnet masks
- P2P links use more compact subnets
- OSPF is configured correctly, even though not optimally.
Even what ChatGPT created would be handy if you just take it with a grain of salt as a setting up issue for a study job that would eventually consequence in a functioning community, but that is not how the AI cheerleaders are offering the GPT wonders.
Based mostly on all I have seen so far I are not able to have faith in everything ChatGPT generates without validating it, which implies it could be an appealing absent-minded assistant, but I would even now have to know what I’m performing.
Disregarding the ontological dilemmas, I do not feel it is doable to give reliably suitable answers without knowing what you’re talking about. Significant language designs do a great task extracting the that means from a totally free-kind question and making a reply, but just because you eaten all the books in the entire world doesn’t indicate that you know or realize what they are all about. Really don’t imagine me? Read through a graduate textbook about quantum physics and convey to me how that worked out.
One could also argue about the mysterious attributes of emergent habits – once a model is significant and sophisticated ample, it could possibly show sudden habits, like seemingly being familiar with points. Does that remind you of how they advised us OpenFlow would remedy all networking issues?
Takeaway: As of March 2023, generic significant language product is almost certainly not the finest tool to design networks and construct network configurations. Let’s see what the following week’s design provides )
[ad_2]
Source connection