-
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

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

Kingston 32GB 64GB 128GB 256GB USB 3.0 Flash Drive Thumb Memory Stick Pen lot
$285.90

Lot of 4 8GB DDR4 PC4-2400T ECC Registered Server RAM 32GB 1Rx8 RDIMM MICRON
$149.99

1/ 10/ 100pcs USB 2.0 2GB, 4GB ,8GB ,16GB ,32GB ,64GB 128GB USB Flash Drives Lot
$202.50

Microsoft Office 2021 Pro Plus USB for 1PC Windows 10 & 11
$62.55

USB 3.0 Flash Drive 32GB 64GB 128GB Memory Stick Thumb Stick Lot Pack
$826.09

USB 3.0 Micro SD SDHC TF Card Reader Memory Adapter for PC Laptop Camera lot
$3.75

Samsung M391A1K43BB2-CTDQ 4 x 8GB 1Rx8 PC4-2666V DDR4 UDIMM RAM Memory
$140.00

Server Memory: Samsung 32GB 4DRx4 PC4-2133P ECC LRDIMM DDR4 M386A4G40DM0-CPB
$124.95

4x8GB Samsung DDR4 2133MHz PC4-2133P 1Rx4 ECC Registered Server RAM 32GB Sansumg
$149.99

TF/SD Card Adapter Camera Reader Android Type-c For iPhone17 Pro Max Plusm lot
$573.98