-
routing problem
Hi,
my Version is Knoppix 3.3 2003-11-19-DE, knx-hdinstall.
My notebook is used at home in a LAN (192.168.0.x) and a gateway 192.168.0.y without problems.
At office in a very paranoid network I have, besides 2 desktops in different subnets, an additional cable with following interface specification:
IP 192.168.47.11
Gateway 81.8.15.253
No Problem with WinXP and AFAIR this was also no problem with Debian-Testing to configure.
But with Knoppix 3.3 I had problems to connect to the large world of WAN.
Here is my /etc/network/interfaces
------snip------
auto lo eth0
iface lo inet loopback
iface eth0 inet static
address 192.168.47.11
netmask 0.0.0.0
network 0.0.0.0
broadcast 192.168.47.255
gateway 81.8.15.253
-----snip----
After boot no route is visible with route -n
So I do
# route add -net 0.0.0.0 netmask 0.0.0.0 eth0
# route add default gw81.8.15.253 eth0
and everything is ok.
Questions:
1) Is my /etc/network/interfaces wrong configured?
2) What are the relevant scripts to inspect for bugs?
3) Are the scripts original Debian or Knoppix modified? (To whom report errors?)
4) Is there a convenient way/utility to switch per "click" between different network configurations (@home, @office, @wlan, @dhcp ...)?
TIA
Helmut Wollmersdorfer
-
Senior Member
registered user
Re: routing problem
![Quote](images/misc/quote_icon.png)
Originally Posted by
wollmersdorfer
Hi,
Here is my /etc/network/interfaces
------snip------
auto lo eth0
iface lo inet loopback
iface eth0 inet static
address 192.168.47.11
netmask 255.255.255.0
network 192.168.47.0
broadcast 192.168.47.255
gateway 81.8.15.253
-----snip----
Questions:
1) Is my /etc/network/interfaces wrong configured?
2) What are the relevant scripts to inspect for bugs?
3) Are the scripts original Debian or Knoppix modified? (To whom report errors?)
4) Is there a convenient way/utility to switch per "click" between different network configurations (@home, @office, @wlan, @dhcp ...)?
TIA
Helmut Wollmersdorfer
1) Yes see the changes I made above.
2) There are no bugs you put the settings in incorrectly.
3) See answer to 2 for errors and that is a standard file to both.
4) Yes you can have different stanzas in the /etc/network/interfaces for different connections you should take a look at man interfaces and maybe a search of the Debian user mailing list is in order I have seen a few post on there on this topic.
-
@stephen:
sorry, but your configuration will not work.
What you suggest is the same, what I tried first and what is the way I usally configure. But this way you get "network not reachable" for the gateway.
Your answer 4): Yes, I know. I have half a dozen servers running @home, most of them with more than one network interface.
Helmut Wollmersdorfer
Similar Threads
-
By the_squid in forum Networking
Replies: 2
Last Post: 02-14-2005, 10:08 PM
-
By Arsène Lupin in forum Networking
Replies: 10
Last Post: 12-16-2004, 05:05 AM
-
By Nic MFP in forum Networking
Replies: 0
Last Post: 10-18-2004, 10:51 PM
-
By pau1knopp in forum Networking
Replies: 5
Last Post: 02-03-2004, 04:12 PM
-
By ktheking in forum Ideas
Replies: 0
Last Post: 11-04-2003, 02:25 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
![Gigabyte Z370P D3 ATX Z370 LGA1151 Motherboard (Support Intel 6/7th 8th 9th) picture](/store/img/g/QrkAAOSwMGNmLxf0/s-l225/Gigabyte-Z370P-D3-ATX-Z370-LGA1151-Motherboard-Sup.jpg)
Gigabyte Z370P D3 ATX Z370 LGA1151 Motherboard (Support Intel 6/7th 8th 9th)
$59.99
![ASRock B550M Pro SE AM4 DDR4 SATA 6Gb/s 1 PCIe 4.0 x16 Micro ATX Motherboard picture](/store/img/g/oXIAAOSwCn1k30lD/s-l225/ASRock-B550M-Pro-SE-AM4-DDR4-SATA-6Gb-s-1-PCIe-4-0.jpg)
ASRock B550M Pro SE AM4 DDR4 SATA 6Gb/s 1 PCIe 4.0 x16 Micro ATX Motherboard
$84.99
![ASUS H110M-R Motherboard Intel 6th/7th Gen LGA1151 DDR4 Micro-ATX i/o shield picture](/store/img/g/FhQAAOSwzL9iDqc3/s-l225/ASUS-H110M-R-Motherboard-Intel-6th-7th-Gen-LGA1151.jpg)
ASUS H110M-R Motherboard Intel 6th/7th Gen LGA1151 DDR4 Micro-ATX i/o shield
$42.00
![Asus Prime H310M-A R2.0 Intel LGA 1151 DDR4 Desktop Motherboard picture](/store/img/g/ld0AAOSw7q5mV2ql/s-l225/Asus-Prime-H310M-A-R2-0-Intel-LGA-1151-DDR4-Deskto.jpg)
Asus Prime H310M-A R2.0 Intel LGA 1151 DDR4 Desktop Motherboard
$54.99
![Asus H81M-C Intel LGA1150 DDR3 Desktop Motherboard MicroATX Socket H3 picture](/store/img/g/CZ4AAOSwg8pmYirU/s-l225/Asus-H81M-C-Intel-LGA1150-DDR3-Desktop-Motherboard.jpg)
Asus H81M-C Intel LGA1150 DDR3 Desktop Motherboard MicroATX Socket H3
$23.99
![ASRock H170 Pro4S Motherboard ATX Intel H170 LGA1151 DDR4 SATA3 HDMI picture](/store/img/g/guoAAOSwk7lmex9j/s-l225/ASRock-H170-Pro4S-Motherboard-ATX-Intel-H170-LGA11.jpg)
ASRock H170 Pro4S Motherboard ATX Intel H170 LGA1151 DDR4 SATA3 HDMI
$39.99
![Asus Prime A320M-K mATX AM4 Motherboard (Ryzen 1000-5000 Ready) picture](/store/img/g/v2sAAOSwFuxlhzOj/s-l225/Asus-Prime-A320M-K-mATX-AM4-Motherboard-Ryzen-1000.jpg)
Asus Prime A320M-K mATX AM4 Motherboard (Ryzen 1000-5000 Ready)
$49.99
![MSI PRO Z690-A WiFi ProSeries Intel LGA 1700 DDR5 Wi-Fi 6E ATX Motherboard picture](/store/img/g/D3cAAOSwfudmYAFK/s-l225/MSI-PRO-Z690-A-WiFi-ProSeries-Intel-LGA-1700-DDR5-.jpg)
MSI PRO Z690-A WiFi ProSeries Intel LGA 1700 DDR5 Wi-Fi 6E ATX Motherboard
$84.95
![GIGABYTE MB10-Datto Motherboard Xeon D-1521- SR2DF 2.40 GHz- Open Box picture](/store/img/g/emsAAOSwMgplusj6/s-l225/GIGABYTE-MB10-Datto-Motherboard-Xeon-D-1521-SR2DF-.jpg)
GIGABYTE MB10-Datto Motherboard Xeon D-1521- SR2DF 2.40 GHz- Open Box
$139.05
![Gigabyte M-ATX motherboard with Intel Core i3 8100 CPU and 8GB DDR4 RAM picture](/store/img/g/CCsAAOSw9mtkQuoe/s-l225/Gigabyte-M-ATX-motherboard-with-Intel-Core-i3-8100.jpg)
Gigabyte M-ATX motherboard with Intel Core i3 8100 CPU and 8GB DDR4 RAM
$84.00