NetPractice — Mert İlhan
A networking exercise: repair ten broken TCP/IP topologies by working out the addressing, masks and routes each one needs.
Ten levels, each a small network drawn on screen that does not work. The task is to read the topology, work out why the packets cannot reach their destination, and fill in the missing addresses, subnet masks and routing table entries. It is solved in a browser rather than in code, which is why there is no repository for it — the output is understanding, not a binary.
Subnet masks decide everything
Two hosts can talk directly only if the mask puts them in the same network. Most broken levels come down to one interface whose mask is a bit too wide or too narrow, so an address that looks neighbouring is treated as remote — or worse, silently overlaps a second subnet elsewhere in the diagram.
Network and broadcast addresses are not usable
The first and last address of every range are reserved. A /30 link between two routers therefore has exactly two usable addresses, which is the whole point of using it there — and assigning one of the reserved pair is a common way a level fails.
Routing tables and the default route
Each router needs to know where to send traffic that is not local. Sometimes the correct answer is one specific route to one specific network; sometimes it is a default route pointing at the next hop. Adding a default where a specific route is required makes the level pass by accident, which the evaluation looks for.
Routes have to work in both directions
A reply has to find its way home. Levels that seem correct often fail because only the outbound path was configured and the return path has no route — a reminder that reachability is a property of a pair, not of one host.
Switches are invisible at this layer
A switch forwards frames without needing an address of its own, so hosts hanging off it must share one subnet. Treating a switch as if it were a router, or expecting it to join two different networks, is a mistake the later levels are built to expose.
Diagnosis before configuration
Every level fails for one specific reason. Reading the topology and naming the fault first — wrong mask, missing route, overlapping range, unusable address — is faster than trying addresses until the lights turn green, and it is the habit the project is really teaching.
Technologies: Networking, TCP/IP, Subnetting, Routing
Other Projects by Mert İlhan
- MediScan AI — AI powered health platform that recognises medicine from a photo of its box, blister or the pill itself, then rewrites the official leaflet in language anyone can understand.
- This Portfolio — The site you are reading. A React single page app deployed to GitHub Pages, with a projects section that reads its own statistics and documentation from the GitHub API at runtime.
- Employee Retention Model — Capstone of the Google Advanced Data Analytics certificate: predicting which employees are about to leave a company, and identifying what is actually driving them out.
- Born2beroot — A hardened Debian server built from a blank virtual machine: encrypted LVM partitions, a strict sudo and password policy, a firewall, a scheduled monitoring script — and, for the bonus, a WordPress site served by lighttpd and MariaDB.
- CPP Module 09 — The last C++ module: choosing the right STL container for each problem and paying for that choice in performance.
- ft_transcendence — The final project of the common core: a real time multiplayer Pong website with accounts, chat and matchmaking.
- Webserv — A non blocking HTTP/1.1 server written from scratch in C++98. Parses its own nginx style config, serves static files, handles CGI and keeps many clients alive on a single event loop.
- CPP Modules 05-08 — The advanced half of the 42 C++ track: exception hierarchies, type casting and serialisation, templates, and finally container and iterator work on top of the STL.
- Inception — A small infrastructure built entirely from hand written Dockerfiles: NGINX with TLS, WordPress on PHP-FPM and MariaDB, wired together with docker-compose and persistent volumes.
- miniRT — A ray tracer in C. Parses a scene description, then renders spheres, planes and cylinders with ambient and diffuse lighting, hard shadows and 2×2 supersampling.
- minishell — A working shell in C. Lexer and parser for quotes, redirections and pipes, plus its own builtins, environment handling and signal behaviour that matches bash.
- Philosophers — The dining philosophers problem solved with threads and mutexes. No philosopher starves and no data race survives, which is the entire difficulty of the exercise.
- push_swap — Sorting a stack with a restricted instruction set, using a radix sort to keep the instruction count low. Graded purely on how short the output sequence is.
- fract-ol — Real time fractal explorer built on MiniLibX, rendering the Mandelbrot and Julia sets with interactive zoom deep into the boundary.
- minitalk — A client and server that exchange whole strings using nothing but the two UNIX user signals, encoding each character one bit at a time.
- get_next_line — Reads one line at a time from any file descriptor, keeping the leftover bytes in a static buffer between calls so nothing is read twice or lost.
- ft_printf — A reimplementation of printf with variadic arguments, handling the conversion specifiers of the original and returning the same character count.
- libft — The first project of the cursus: a static library rebuilding the parts of the C standard library that every later project depends on.